Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/11268 )
Change subject: IMPALA-6373: Allow primitive type widening on parquet tables ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/11268/2/tests/query_test/test_scanners.py File tests/query_test/test_scanners.py: http://gerrit.cloudera.org:8080/#/c/11268/2/tests/query_test/test_scanners.py@758 PS2, Line 758: TABLE_NAME = "primitive_type_widening" : self.client.execute("""CREATE TABLE {0}.{1} (a smallint, b int, c bigint, d double, : e int, f bigint, g double, h int, i double, j double) : STORED AS PARQUET""".format(unique_database, TABLE_NAME)) : table_loc = get_fs_path( : "/test-warehouse/{0}.db/{1}".format(unique_database, TABLE_NAME)) : check_call(["hdfs", "dfs", "-copyFromLocal", os.environ["IMPALA_HOME"] + : "/testdata/data/{0}.parquet".format(TABLE_NAME), table_loc]) It seems https://gerrit.cloudera.org/#/c/11127/ is about to go in, so you can use the utility function create_table_and_copy_files(). -- To view, visit http://gerrit.cloudera.org:8080/11268 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: If93394b035c64cf6fc5f37b54d29c034cc1f86e4 Gerrit-Change-Number: 11268 Gerrit-PatchSet: 2 Gerrit-Owner: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Wed, 22 Aug 2018 14:53:14 +0000 Gerrit-HasComments: Yes
