[ 
https://issues.apache.org/jira/browse/HAWQ-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126294#comment-15126294
 ] 

ASF GitHub Bot commented on HAWQ-178:
-------------------------------------

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.


> Add JSON plugin support in code base
> ------------------------------------
>
>                 Key: HAWQ-178
>                 URL: https://issues.apache.org/jira/browse/HAWQ-178
>             Project: Apache HAWQ
>          Issue Type: New Feature
>          Components: PXF
>            Reporter: Goden Yao
>            Assignee: Goden Yao
>             Fix For: backlog
>
>         Attachments: PXFJSONPluginforHAWQ2.0andPXF3.0.0.pdf
>
>
> JSON has been a popular format used in HDFS as well as in the community, 
> there has been a few JSON PXF plugins developed by the community and we'd 
> like to see it being incorporated into the code base as an optional package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to