IMPALA-4514: Fix broken exhaustive builds caused by non-nullable columns This commit fixes the broken exhaustive Impala builds. The issue was caused by Kudu table that didn't properly specify nullability constraints. Hence, some rows were rejected during data loading causing some tests to fail.
Change-Id: Ib6f4b4c88ef18b1731b7c9789aad602880e18035 Reviewed-on: http://gerrit.cloudera.org:8080/5157 Reviewed-by: Alex Behm <[email protected]> Tested-by: Internal Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/af67b2fe Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/af67b2fe Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/af67b2fe Branch: refs/heads/master Commit: af67b2fef4d397dc2a304ffda876e9484c24069e Parents: 035b775 Author: Dimitris Tsirogiannis <[email protected]> Authored: Sun Nov 20 16:50:45 2016 -0800 Committer: Internal Jenkins <[email protected]> Committed: Mon Nov 21 22:24:25 2016 +0000 ---------------------------------------------------------------------- testdata/datasets/functional/functional_schema_template.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/af67b2fe/testdata/datasets/functional/functional_schema_template.sql ---------------------------------------------------------------------- diff --git a/testdata/datasets/functional/functional_schema_template.sql b/testdata/datasets/functional/functional_schema_template.sql index 1940c31..be7a6ac 100644 --- a/testdata/datasets/functional/functional_schema_template.sql +++ b/testdata/datasets/functional/functional_schema_template.sql @@ -1337,7 +1337,8 @@ OVERWRITE INTO TABLE {db_name}{db_suffix}.{table_name}; ---- CREATE_KUDU DROP TABLE IF EXISTS {db_name}{db_suffix}.{table_name}; create table {db_name}{db_suffix}.{table_name} ( - a string primary key, b string, c string, d int, e double, f string, g string + a string primary key, b string null, c string null, d int null, e double null, + f string null, g string null ) distribute by hash(a) into 3 buckets stored as kudu; ====
