Github user chunhui-shi commented on a diff in the pull request:
https://github.com/apache/drill/pull/594#discussion_r85975481
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/fn/JsonReader.java
---
@@ -59,12 +59,13 @@
private final ListVectorOutput listOutput;
private final boolean extended = true;
private final boolean readNumbersAsDouble;
+ private List<String> path = Lists.newArrayList();
--- End diff --
Since you are adding a stateful variable 'path', could you add a test with
some error json items injected in the middle to make sure it can still recover
and have good status when the option introduced in DRILL-4653 is enabled
('store.json.reader.skip_invalid_records') which will skip invalid tokens.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---