hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10150) delete from acidTbl where a in(select a from nonAcidOrcTbl) fails
Date Mon, 30 Mar 2015 22:57:53 GMT

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

Eugene Koifman updated HIVE-10150:
----------------------------------
    Description: 
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.

  was:
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.


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

Mime
View raw message