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 07:17:55 UTC

[phoenix] branch 4.x-HBase-1.2 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.2
in repository https://gitbox.apache.org/repos/asf/phoenix.git


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

commit dacc75ce99378c6e58afa5f4e080680313c439b4
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;