hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-8191) Update and delete on tables with non Acid output formats gives runtime error
Date Fri, 19 Sep 2014 19:57:34 GMT

     [ https://issues.apache.org/jira/browse/HIVE-8191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Gates updated HIVE-8191:
-----------------------------
    Attachment: HIVE-8191.patch

Added a check when updating and deleting that the table is acid compliant.

> Update and delete on tables with non Acid output formats gives runtime error
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-8191
>                 URL: https://issues.apache.org/jira/browse/HIVE-8191
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.14.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Critical
>         Attachments: HIVE-8191.patch
>
>
> {code}
> create table not_an_acid_table(a int, b varchar(128));
> insert into table not_an_acid_table select cint, cast(cstring1 as varchar(128)) from
alltypesorc where cint is not null order by cint limit 10;
> delete from not_an_acid_table where b = '0ruyd6Y50JpdGRf6HqD';
> {code}
> This generates a runtime error.  It should get a compile error instead.



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

Mime
View raw message