commit 504b18920ddefc909d35edeeb6daa85360240eee Author: Andrew Sherman Date: Tue Mar 27 13:49:09 2018 -0700 HIVE-19062: Update constraint_partition_columns.q.out TestNegativeCliDriver is error-prone at present but if you run constraint_partition_columns.q on its own you get a diff. I think this is a simple regression caused by [HIVE-18726]. git show 5b222db358e32dc746197eef16721721afd94f3a ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java | grep INVALID_CSTR_SYNTAX - ErrorMsg.INVALID_CSTR_SYNTAX.getMsg("NOT NULL and Default Constraints are not allowed with " + + ErrorMsg.INVALID_CSTR_SYNTAX.getMsg("NOT NULL,DEFAULT and CHECK Constraints are not allowed with " + diff --git ql/src/test/results/clientnegative/constraint_partition_columns.q.out ql/src/test/results/clientnegative/constraint_partition_columns.q.out index d629ed062e8a3b8210a8175961df479f4bddab76..28c0cd957d8ceb437fb3a730eec394ed85789cdf 100644 --- ql/src/test/results/clientnegative/constraint_partition_columns.q.out +++ ql/src/test/results/clientnegative/constraint_partition_columns.q.out @@ -1 +1 @@ -FAILED: SemanticException [Error 10326]: Invalid Constraint syntax NOT NULL and Default Constraints are not allowed with partition columns. +FAILED: SemanticException [Error 10326]: Invalid Constraint syntax NOT NULL,DEFAULT and CHECK Constraints are not allowed with partition columns.