flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-7998) Make case classes in TPCHQuery3.java public to allow dynamic instantiation
Date Tue, 14 Nov 2017 14:59:00 GMT

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

Chesnay Schepler closed FLINK-7998.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

1.4: 2774335983bf83b68ff061388d0bd69d4346bb07
1.5: 408e186995f4e6bacc0904b8dd6b6f9b7e28e60e

> 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
>            Assignee: Keren Zhu
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 1.4.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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)

Mime
View raw message