[
https://issues.apache.org/jira/browse/FLINK-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-9698:
----------------------------------
Labels: auto-deprioritized-major stale-minor (was:
auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> "case class must be static and globally accessible" is too constrained
> ----------------------------------------------------------------------
>
> Key: FLINK-9698
> URL: https://issues.apache.org/jira/browse/FLINK-9698
> Project: Flink
> Issue Type: Improvement
> Components: API / Type Serialization System
> Reporter: Jeff Zhang
> Priority: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> The following code can reproduce this issue.
> {code}
> object BatchJob {
> def main(args: Array[String]) {
> // set up the batch execution environment
> val env = ExecutionEnvironment.getExecutionEnvironment
> val tenv = TableEnvironment.getTableEnvironment(env)
> case class Person(id:Int, name:String)
> val ds = env.fromElements(Person(1,"jeff"), Person(2, "andy"))
> tenv.registerDataSet("table_1", ds);
> }
> }
> {code}
> Although I have workaround to declare case class outside of the main method,
> this workaround won't work in scala-shell.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)