Eugene Koifman created HIVE-10150:
-------------------------------------

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



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

Reply via email to