[ https://issues.apache.org/jira/browse/FLINK-20556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247824#comment-17247824 ]
Jark Wu commented on FLINK-20556: --------------------------------- Hi [~zzh...@gmail.com], currently, Flink SQL doesn't support using Scala package object. You can use normal Scala class instead. > Compile exception when using Scala package object as POJO > --------------------------------------------------------- > > Key: FLINK-20556 > URL: https://issues.apache.org/jira/browse/FLINK-20556 > Project: Flink > Issue Type: Bug > Components: API / Scala, Client / Job Submission, Table SQL / Runtime > Affects Versions: 1.11.2 > Environment: flink-1.11.2 > IntelliJ IDEA 2019.2 x64 > window10 > scala > Reporter: Zezheng Qin > Priority: Major > Attachments: bug-log.log, flink-datahub-bug.zip > > > if i defined a pojo class in a package object, the job excute failly. > but the job can excute successfully what if i defined a pojo class in the > package > -- This message was sent by Atlassian Jira (v8.3.4#803005)