You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/08/26 07:00:00 UTC

[jira] [Updated] (FLINK-23978) FieldAccessor has direct scala dependency

     [ https://issues.apache.org/jira/browse/FLINK-23978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-23978:
-------------------------------------
        Parent: FLINK-23986
    Issue Type: Sub-task  (was: Technical Debt)

> FieldAccessor has direct scala dependency
> -----------------------------------------
>
>                 Key: FLINK-23978
>                 URL: https://issues.apache.org/jira/browse/FLINK-23978
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / DataStream
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.15.0
>
>
> The FieldAccessor class in flink-streaming-java has a hard dependency on scala. It would be ideal if we could restrict this dependencies to flink-streaming-scala.
> We could move the SimpleProductFieldAccessor & RecursiveProductFieldAccessor to flink-streaming-scala, and load them in the FieldAccessorFactory via reflection.
> This is one of a few steps that would allow the Java Datastream API to be used without scala being on the classpath.



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