Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/13251 )
Change subject: IMPALA-8369 (part 4): Hive 3: fixes for functional dataset loading ...................................................................... Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/13251/4/testdata/datasets/functional/functional_schema_template.sql File testdata/datasets/functional/functional_schema_template.sql: http://gerrit.cloudera.org:8080/#/c/13251/4/testdata/datasets/functional/functional_schema_template.sql@2578 PS4, Line 2578: CREATE_HIVE > When I looked at this, it seemed like it's guaranteed that the statements w The CREATE for functional.alltypes will definitely be before this CREATE_HIVE for functional.hive_index, but the LOAD section for functional.alltypes is separate and happens after all the creates are done. In general, it looks something like this (ignoring file formats): All the CREATEs + ALTER sections (executed in Impala, ordered by this file) All the CREATE_HIVEs + corresponding ALTER sections (executed in Hive, ordered by this file) Then come the LOAD statements (executed in Hive, ordered by this file) So, when CREATE_HIVE runs, functional.alltypes exists, but is empty. (This order is weird.) -- To view, visit http://gerrit.cloudera.org:8080/13251 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic34930dc064da3136dde4e01a011d14db6a74ecd Gerrit-Change-Number: 13251 Gerrit-PatchSet: 4 Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: Vihang Karajgaonkar <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Tue, 14 May 2019 00:44:07 +0000 Gerrit-HasComments: Yes
