Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/518#discussion_r67267511 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/easy/json/JSONRecordReader.java --- @@ -217,11 +228,11 @@ public int next() { updateRunningCount(); return recordCount; - } catch (final Exception e) { - handleAndRaise("Error parsing JSON", e); - } + // } catch (final Exception e) { + // handleAndRaise("Error parsing JSON", e); + // } // this is never reached - return 0; + //return 0; --- End diff -- Uncomment this (best practice since function has a return type)
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---