phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gjac...@apache.org
Subject phoenix git commit: PHOENIX-4935 - IndexTool should use empty catalog instead of null
Date Tue, 02 Oct 2018 17:29:51 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 c2afbcf03 -> 25bb6ff6f


PHOENIX-4935 - IndexTool should use empty catalog instead of null


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/25bb6ff6
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/25bb6ff6
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/25bb6ff6

Branch: refs/heads/4.x-HBase-1.3
Commit: 25bb6ff6fba9bb7d6501dc029409d39d640c54bf
Parents: c2afbcf
Author: Geoffrey <gjacoby@apache.org>
Authored: Mon Oct 1 15:04:02 2018 -0700
Committer: Geoffrey <gjacoby@apache.org>
Committed: Tue Oct 2 10:23:59 2018 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/phoenix/mapreduce/index/IndexTool.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/25bb6ff6/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
index ac0be01..15d41ea 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
@@ -737,7 +737,7 @@ public class IndexTool extends Configured implements Tool {
 
         ResultSet rs = null;
         try {
-            rs = dbMetaData.getIndexInfo(null, schemaName, tableName, false, false);
+            rs = dbMetaData.getIndexInfo("", schemaName, tableName, false, false);
             while (rs.next()) {
                 final String indexName = rs.getString(6);
                 if (indexTable.equalsIgnoreCase(indexName)) {


Mime
View raw message