hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14203) ORC should throw if null row is passed to writer
Date Mon, 11 Jul 2016 05:47:10 GMT

    [ 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)

Mime
View raw message