[
https://issues.apache.org/jira/browse/DRILL-8202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528784#comment-17528784
]
ASF GitHub Bot commented on DRILL-8202:
---------------------------------------
cgivre opened a new pull request, #2524:
URL: https://github.com/apache/drill/pull/2524
# [DRILL-8202](https://issues.apache.org/jira/browse/DRILL-8202): Add
Options to Skip Malformed JSON Records to HTTP Plugin
## Description
The JSON reader has the possibility of skipping malformed records and
documents, but this is a global setting. This PR adds this configuration to
the HTTP plugin so that it can be set individually for each endpoint.
## Documentation
Added two new config options to the HttpJsonConfig:
* `skipMalformedRecords`: Allows Drill to skip malformed records and
recover without throwing exceptions.
* `skipMalformedDocument`: Allows Drill to skip entire malformed documents
without throwing errors.
## Testing
Added unit test.
> Add Options to Skip Malformed JSON Records to HTTP Plugin
> ---------------------------------------------------------
>
> Key: DRILL-8202
> URL: https://issues.apache.org/jira/browse/DRILL-8202
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Other
> Affects Versions: 1.20.0
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Major
> Fix For: 2.0.0
>
>
> The JSON reader has the possibility of skipping malformed records and
> documents, but this is a global setting. This PR adds this configuration to
> the HTTP plugin so that it can be set individually for each endpoint.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)