hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adamjshook <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-178: Add JSON plugin support in ...
Date Mon, 01 Feb 2016 14:26:52 GMT
Github user adamjshook commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/302#issuecomment-177992806
  
    I thought I had handled this case in the `JsonRecordReader` code.  The `JsonStreamReader`
has no knowledge of the 'end' location of the FileSplit and will read until it completes a
JSON record on the call to `getJsonRecord`.  The `JsonInputStream` only returns false on a
`next` call when the number of bytes read by the stream reader is greater than or equal to
`end - start`.  It will ignore the split boundaries and continue to reading to make a full
record.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message