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

Prasanth Jayachandran commented on HIVE-14203:
----------------------------------------------

Couple of things
- Can you add a msg to the the exception saying that it is not expected (per 
writer contract) to write null rows? or something like that..
- Can you please update the Writer.java interface that the row should be 
non-null
- Vectorized writers use addRowBatch() API. We might have to do the same for 
addRowBatch() API as well along with above steps

> ORC should throw if null row is passed to writer
> ------------------------------------------------
>
>                 Key: HIVE-14203
>                 URL: https://issues.apache.org/jira/browse/HIVE-14203
>             Project: Hive
>          Issue Type: Bug
>          Components: ORC
>    Affects Versions: 1.2.1, 2.0.0, 2.1.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-14203.patch
>
>
> Currently it silently drops the row (doesn't write in file) but updates 
> metadata. As a result of this data being inconsistent with metadata, its 
> impossible to read it back.



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

Reply via email to