You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ja...@apache.org on 2019/03/26 06:22:27 UTC

[phoenix] branch 4.x-HBase-1.3 updated: PHOENIX-1614 ALTER TABLE ADD IF NOT EXISTS doesn't work as expected(addendum)

This is an automated email from the ASF dual-hosted git repository.

jaanai pushed a commit to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.3 by this push:
     new 56e19bf  PHOENIX-1614 ALTER TABLE ADD IF NOT EXISTS doesn't work as expected(addendum)
56e19bf is described below

commit 56e19bfcc669954235e7cc98a4bcd18042ed46f2
Author: jinqian.zy <ji...@alibaba-inc.com>
AuthorDate: Tue Mar 26 14:00:38 2019 +0800

    PHOENIX-1614 ALTER TABLE ADD IF NOT EXISTS doesn't work as expected(addendum)
---
 .../src/main/java/org/apache/phoenix/schema/MetaDataClient.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
index 71b1dc1..430332d 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
@@ -3579,7 +3579,7 @@ public class MetaDataClient {
                     }
                 }
             } else {
-                columnDefs = origColumnDefs == null ? Collections.emptyList() : origColumnDefs;
+                columnDefs = origColumnDefs == null ? Collections.<ColumnDef>emptyList() : origColumnDefs;
             }
 
             boolean retried = false;