This is an automated email from the ASF dual-hosted git repository.
michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 671a7fcad IMPALA-14529: (addendum) Fix kudu_create.test
671a7fcad is described below
commit 671a7fcadaa6757bf8321c114101c82dfb9164b1
Author: Riza Suminto <[email protected]>
AuthorDate: Thu Nov 6 14:03:31 2025 -0800
IMPALA-14529: (addendum) Fix kudu_create.test
Kudu throws different error message after IMPALA-14529. This patch
adjust the error message in kudu_create.test to let the test pass.
Testing:
Pass TestDdlStatements.test_create_kudu and
TestKuduHMSIntegration.test_create_managed_kudu_tables.
Change-Id: Iff4cd08f46626d03b1f0800828e5872b83f522ca
Reviewed-on: http://gerrit.cloudera.org:8080/23648
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Michael Smith <[email protected]>
---
.../functional-query/queries/QueryTest/kudu_create.test | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
a/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test
b/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test
index a6e0e7bc9..d536578c1 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test
@@ -21,14 +21,14 @@ INT,INT
create table tab (x int, y boolean, primary key(x, y))
partition by hash (x) partitions 3 stored as kudu
---- CATCH
-NonRecoverableException: key column may not have type of BOOL, FLOAT, or DOUBLE
+NonRecoverableException: key column may not have type of BOOL, FLOAT, DOUBLE,
or NESTED
====
---- QUERY
# Float primary key column
create table tab (x int, y float, primary key(x, y))
partition by hash (x) partitions 3 stored as kudu
---- CATCH
-NonRecoverableException: key column may not have type of BOOL, FLOAT, or DOUBLE
+NonRecoverableException: key column may not have type of BOOL, FLOAT, DOUBLE,
or NESTED
====
---- QUERY
# Primary keys should be declared first
@@ -631,21 +631,21 @@ ImpalaRuntimeException: Kudu NON UNIQUE PRIMARY KEY
columns must be specified as
create table non_unique_key_create_tbl10 (x boolean non unique primary key)
partition by hash(x) partitions 8 stored as kudu
---- CATCH
-NonRecoverableException: key column may not have type of BOOL, FLOAT, or DOUBLE
+NonRecoverableException: key column may not have type of BOOL, FLOAT, DOUBLE,
or NESTED
====
---- QUERY
# Non unique primary key cannot be float type
create table non_unique_key_create_tbl11 (x float non unique primary key)
partition by hash(x) partitions 8 stored as kudu
---- CATCH
-NonRecoverableException: key column may not have type of BOOL, FLOAT, or DOUBLE
+NonRecoverableException: key column may not have type of BOOL, FLOAT, DOUBLE,
or NESTED
====
---- QUERY
# Non unique primary key cannot be double type
create table non_unique_key_create_tbl12 (x double non unique primary key)
partition by hash(x) partitions 8 stored as kudu
---- CATCH
-NonRecoverableException: key column may not have type of BOOL, FLOAT, or DOUBLE
+NonRecoverableException: key column may not have type of BOOL, FLOAT, DOUBLE,
or NESTED
====
---- QUERY
# Cannot create a Kudu table without any key and partition