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

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


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

commit a74c33b9a818b2200d829ba187a91828224efd64
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 2da040b..bb1a288 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
@@ -3569,7 +3569,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