Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17629
Change subject: IMPALA-10765: Don't update catalog when inserting empty results on unpartitioned tables ...................................................................... IMPALA-10765: Don't update catalog when inserting empty results on unpartitioned tables When no files are inserted to an unpartitioned table and the DML is not specified with OVERWRITE, we don't need to update catalog since it takes no effects. This avoid hitting IllegalStateException in CatalogdOpExecutor#createInsertEvents(). Tests: - Manually verify the issue fixed - (TODO) Add e2e test - (TODO) run CORE test Change-Id: Id708f38302b37d7e09435e7b8b0c9fc071659606 --- M be/src/runtime/dml-exec-state.cc M be/src/runtime/dml-exec-state.h M be/src/service/client-request-state.cc 3 files changed, 12 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/29/17629/1 -- To view, visit http://gerrit.cloudera.org:8080/17629 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id708f38302b37d7e09435e7b8b0c9fc071659606 Gerrit-Change-Number: 17629 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
