[ https://issues.apache.org/jira/browse/FLINK-13414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344651#comment-17344651 ]
Timo Walther commented on FLINK-13414: -------------------------------------- Great to see this lively discussion around Scala support in Flink. Actually, there were already a couple of offline discussions from the main API people in the project how to proceed with Scala. Most people that were involved in Scala parts in Flink would like to reduce the Scala dependencies as much as possible nowadays. We started with this effort a while ago, see [here|https://cwiki.apache.org/confluence/display/FLINK/FLIP-28%3A+Long-term+goal+of+making+flink-table+Scala-free] and [here|https://cwiki.apache.org/confluence/display/FLINK/FLIP-32%3A+Restructure+flink-table+for+future+contributions]. Let me summarize some of the things we did and things we would like to achieve. There is no FLIP yet and all these thoughts are work in progress: - Table API has been rewritten from Scala to Java. - Table API is unified for all JVM languages. - Table API does not use Scala macros anymore but purely relies on reflective extraction and unified hints. - Table API offers some Scala implicits in a dedicated module that can be but doesn't have to be used when developing in Scala. - Both legacy and Blink planner use Scala heavily. Legacy planner will be dropped soon. Blink planner will need some classloader/plugin mechanism to get Scala until it is fully ported. New classes are developed in Java. - DataStream API should not depend on the runtime module which pulls in Scala dependencies that could also be put behind some classloader/plugin mechanism. - Scala DataStream API should be removed or made thinner. Scala users could use the Java DataStream API. Similar to the unified Table API. - Macros could help in finding TypeInformation but should be definitely located in a optional package, otherwise reflection-based type extraction is the fallback. > Add support for Scala 2.13 > -------------------------- > > Key: FLINK-13414 > URL: https://issues.apache.org/jira/browse/FLINK-13414 > Project: Flink > Issue Type: New Feature > Components: API / Scala > Reporter: Chaoran Yu > Priority: Major > -- This message was sent by Atlassian Jira (v8.3.4#803005)