You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2015/11/02 20:28:27 UTC
[jira] [Updated] (DRILL-4007) json reader treats empty list
inconsistently,
[ https://issues.apache.org/jira/browse/DRILL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Hsuan-Yi Chu updated DRILL-4007:
-------------------------------------
Attachment: b.json
a.json
> json reader treats empty list inconsistently,
> ---------------------------------------------
>
> Key: DRILL-4007
> URL: https://issues.apache.org/jira/browse/DRILL-4007
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - JSON
> Reporter: Sean Hsuan-Yi Chu
> Assignee: Sean Hsuan-Yi Chu
> Priority: Critical
> Attachments: a.json, b.json
>
>
> Depending on where the empty list shows up, the empty list could be treated as empty-list or just a null.
> Running the following query on the folder with files in the attachment can reproduce the observation:
> {code}
> +--------+
> | a |
> +--------+
> | null |
> | ["b"] |
> | [] |
> +--------+
> {code}
> Note that both first and third records come from
> {code}
> {“a”:[]}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)