You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2015/04/01 03:39:53 UTC

[jira] [Updated] (HIVE-10150) delete from acidTbl where a in(select a from nonAcidOrcTbl) fails

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

Eugene Koifman updated HIVE-10150:
----------------------------------
    Attachment: HIVE-10050.patch

> delete from acidTbl where a in(select a from nonAcidOrcTbl) fails
> -----------------------------------------------------------------
>
>                 Key: HIVE-10150
>                 URL: https://issues.apache.org/jira/browse/HIVE-10150
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning, Transactions
>    Affects Versions: 1.1.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-10050.patch
>
>
> this query raises an error 
> "10297,FAILED: SemanticException [Error 10297]: Attempt to do update or delete on table nonAcidOrcTbl that does not use an AcidOutputFormat or is not bucketed"
> even though nonAcidOrcTbl is only being read, not written.
> select b from " + Table.ACIDTBL + " where a in (select b from " + Table.NONACIDORCTBL + ")
> runs fine.
> There doesn't seem to be any logical reason why we should rise the error here.
> Same for 'update' statement.



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