[
https://issues.apache.org/jira/browse/DRILL-8506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873220#comment-17873220
]
ASF GitHub Bot commented on DRILL-8506:
---------------------------------------
cgivre opened a new pull request, #2935:
URL: https://github.com/apache/drill/pull/2935
# [DRILL-8506](https://issues.apache.org/jira/browse/DRILL-8506): Ignore
JSON Elements with Empty Keys
## Description
If Drill encounters a JSON field with an empty key, currently Drill throws
an exception. This behavior prevents Drill from reading the rest of the data.
This PR modifies Drill's behavior by simply ignoring JSON data with empty
keys. Drill will generate a log warning message when this happens.
## Documentation
No significant user facing changes.
## Testing
Ran existing unit tests.
> Ignore JSON Elements with Empty Keys
> ------------------------------------
>
> Key: DRILL-8506
> URL: https://issues.apache.org/jira/browse/DRILL-8506
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - JSON
> Affects Versions: 1.21.2
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Minor
> Fix For: 1.22.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)