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 <[email protected]>
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;

Reply via email to