You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2013/12/28 01:57:50 UTC

[jira] [Commented] (DRILL-341) Cannot pass instance specific information to JSON Reader

    [ https://issues.apache.org/jira/browse/DRILL-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857877#comment-13857877 ] 

Jason Altekruse commented on DRILL-341:
---------------------------------------

[~tnachen]

Small changes made to JSON reader to pass down the desired columns, line 289 causes a compilation error due to the static context issue issue of the Enum.

https://github.com/linuxN00b92/incubator-drill/blob/drill-341/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONRecordReader.java?source=c

> Cannot pass instance specific information to JSON Reader
> --------------------------------------------------------
>
>                 Key: DRILL-341
>                 URL: https://issues.apache.org/jira/browse/DRILL-341
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jason Altekruse
>            Assignee: Jason Altekruse
>
> Code in the JSON reader currently is all inside of an enum. All Enums in Java  are static, so there is no way to pass in instance specific filtering information to each reader. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)