phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vincentp...@apache.org
Subject phoenix git commit: PHOENIX-4907 - IndexScrutinyTool should use empty catalog instead of null
Date Wed, 17 Oct 2018 18:57:16 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.14-HBase-1.2 c38a0caa3 -> b2c6989cf


PHOENIX-4907 - IndexScrutinyTool 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/b2c6989c
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b2c6989c
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b2c6989c

Branch: refs/heads/4.14-HBase-1.2
Commit: b2c6989cf1b4022fe9a966d0051014ad1e29c0b2
Parents: c38a0ca
Author: Geoffrey <gjacoby@apache.org>
Authored: Mon Sep 17 16:09:44 2018 -0700
Committer: Vincent Poon <vincentpoon@apache.org>
Committed: Wed Oct 17 11:57:13 2018 -0700

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


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b2c6989c/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
index f3ff39e..d9a14bf 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
@@ -499,7 +499,7 @@ public class IndexScrutinyTool 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