hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7513) Add ROW__ID VirtualColumn
Date Mon, 04 Aug 2014 23:39:12 GMT

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

Eugene Koifman commented on HIVE-7513:
--------------------------------------

[~navis], I'm not sure how it would work with SerDe.  Arguably, if SerDe could cause creation
of a VC in table metadata this could work very cleanly but I think this is beyond the scope
of this ticket... unless you can think of a simple way to do that.  As far as Hive is concerned
this would just be a 'normal' column.

> Add ROW__ID VirtualColumn
> -------------------------
>
>                 Key: HIVE-7513
>                 URL: https://issues.apache.org/jira/browse/HIVE-7513
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor
>    Affects Versions: 0.13.1
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-7513.3.patch, HIVE-7513.4.patch, HIVE-7513.5.patch
>
>
> In order to support Update/Delete we need to read rowId from AcidInputFormat and pass
that along through the operator pipeline (built from the WHERE clause of the SQL Statement)
so that it can be written to the delta file by the update/delete (sink) operators.
> The parser will add this column to the projection list to make sure it's passed along.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message