You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/08/29 12:20:00 UTC

[jira] [Commented] (DRILL-7362) COUNT(*) on JSON with outer list results in JsonParse error

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

ASF GitHub Bot commented on DRILL-7362:
---------------------------------------

oleg-zinovev commented on pull request #1849: DRILL-7362: COUNT(*) on JSON with outer list results in JsonParse error
URL: https://github.com/apache/drill/pull/1849
 
 
   Fix for CountingJsonReader to support json file with list in content.
   
   P.S. At the moment, it contains a lot of C&P from JsonReader class. I can provide another solution that adds a counting mode to the JsonReader itself.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> COUNT(*) on JSON with outer list results in JsonParse error
> -----------------------------------------------------------
>
>                 Key: DRILL-7362
>                 URL: https://issues.apache.org/jira/browse/DRILL-7362
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Oleg Zinoviev
>            Priority: Major
>
> Count from a JSON file with a outer array results in JsonParseException: Cannot read from the middle of a record. Current token was START_ARRAY.
> P.S. A simple select from such file works normally.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)