[jira] [Created] (FLINK-15674) Let Java and Scala Type Extraction go through the same stack

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15674) Let Java and Scala Type Extraction go through the same stack

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-15674:
------------------------------------

             Summary: Let Java and Scala Type Extraction go through the same stack
                 Key: FLINK-15674
                 URL: https://issues.apache.org/jira/browse/FLINK-15674
             Project: Flink
          Issue Type: Improvement
          Components: API / DataStream
            Reporter: Stephan Ewen


Currently, the Java and Scala Type Extraction stacks are completely different.
* Java uses the {{TypeExtractor}}
* Scala uses the type extraction macros.

As a result, the same class can be extracted as different types in the different stacks, which can lead to very confusing results. In particular, when you use the TypeExtractor on Scala Classes, you always get a {{GenericType}}.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)