[jira] [Created] (FLINK-7998) Make case classes in TPCHQuery3.java public to allow dynamic instantiation

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

[jira] [Created] (FLINK-7998) Make case classes in TPCHQuery3.java public to allow dynamic instantiation

Shang Yuanchun (Jira)
Keren Zhu created FLINK-7998:
--------------------------------

             Summary: Make case classes in TPCHQuery3.java public to allow dynamic instantiation
                 Key: FLINK-7998
                 URL: https://issues.apache.org/jira/browse/FLINK-7998
             Project: Flink
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.3.2
            Reporter: Keren Zhu
            Priority: Minor


Case classes Lineitem, Customer and Order in example TPCHQuery3.java are set to private. This causes an IllegalAccessException exception because of reflection check in dynamic class instantiation. Making them public resolves the problem (which is what implicitly suggested by _case class_ in TPCHQuery3.scala)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)