phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbo...@apache.org
Subject [3/9] phoenix git commit: PHOENIX-4907 - IndexScrutinyTool should use empty catalog instead of null
Date Mon, 03 Dec 2018 19:41:51 GMT
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/1d407cd5
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/1d407cd5
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/1d407cd5

Branch: refs/heads/4.14-cdh5.14
Commit: 1d407cd55b66bc113951e2c759512c70eee32e0f
Parents: a9706bb
Author: Geoffrey <gjacoby@apache.org>
Authored: Tue Sep 18 00:09:44 2018 +0100
Committer: Pedro Boado <pboado@apache.org>
Committed: Mon Dec 3 08:36:51 2018 +0000

----------------------------------------------------------------------
 .../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/1d407cd5/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