Michael Smith has submitted this change and it was merged. ( https://gerrit.cloudera.org/23626 )
Change subject: IMPALA-15772: Load testdata with Impala ...................................................................... IMPALA-15772: Load testdata with Impala Switches most data loading to Impala. Adds LOAD_HIVE for a few operations that still don't work in Impala. Adds casts to a few types where Impala failed the query due to loss of precision. Moves uploading data to storage to load-data.py via copy_workload_data_to_hdfs. Then uses Impala's LOAD DATA INPATH to populate the tables. LOAD DATA INPATH moves the table files into place, so multiple loads that used the same source file now load into one table then others select from that table. Removes passing scale_factor around in generate-schema-statements.py to simplify function signatures as it always uses the CLI input. This change reduces functional-query load time in my test from 24m20s to 19m44s, without significantly affecting parallel TPC-H and TPC-DS loads. Change-Id: I43d681a89d49fde9562ea67fd250fad2edd308ae Assisted-by: Claude Opus 4.8 (GitHub Copilot) Reviewed-on: https://gerrit.cloudera.org/23626 Reviewed-by: Csaba Ringhofer <[email protected]> Reviewed-by: Arnab Karmakar <[email protected]> Reviewed-by: Joe McDonnell <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M bin/load-data.py M testdata/bin/generate-schema-statements.py M testdata/common/text_delims_table.py M testdata/common/widetable.py A testdata/data/table_no_newline_part/table_no_newline.csv M testdata/datasets/functional/functional_schema_template.sql M testdata/datasets/tpcds/tpcds_schema_template.sql M testdata/datasets/tpch/tpch_schema_template.sql 8 files changed, 322 insertions(+), 284 deletions(-) Approvals: Csaba Ringhofer: Looks good to me, but someone else must approve Arnab Karmakar: Looks good to me, but someone else must approve Joe McDonnell: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit https://gerrit.cloudera.org/23626 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I43d681a89d49fde9562ea67fd250fad2edd308ae Gerrit-Change-Number: 23626 Gerrit-PatchSet: 25 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]>
