Github user xubo245 commented on a diff in the pull request:
    --- Diff: 
    @@ -256,9 +256,11 @@ test("Creation of partition table should fail if the 
colname in table schema and
         sql("insert into partitionTable select 1,'huawei','abc'")
         checkAnswer(sql("show partitions partitionTable"), 
    -    intercept[Exception]{
    +    val e = intercept[AnalysisException]{
           sql("alter table partitionTable PARTITION (email='abc') rename to 
PARTITION (email='def)")
    +    //TODO: error message is improper
    +    assert(e.getMessage.contains("failure: identifier matching regex"))
    --- End diff --
    ok, fixed it. Thanks!


Reply via email to