hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10148) update of bucking column should not be allowed
Date Thu, 02 Apr 2015 18:14:56 GMT

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

Alan Gates commented on HIVE-10148:
-----------------------------------

+1, looks good.

bq. TestHiveAuthorizerCheckInvocation.testUpdateSomeColumnsUsed() - I'm not clear on why getColumns()
changes.
The bucketing column has to be read as part of the inbound query so that the update knows
how to bucket the columns on the way out.  Since you added a separate bucketing column now
it has to be read also.

> update of bucking column should not be allowed
> ----------------------------------------------
>
>                 Key: HIVE-10148
>                 URL: https://issues.apache.org/jira/browse/HIVE-10148
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.1.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-10148.2.patch, HIVE-10148.3.patch, HIVE-10148.patch
>
>
> update tbl set a = 5;
> should raise an error if 'a' is a bucketing column.
> Such operation is not supported but currently not checked for.



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

Mime
View raw message