You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2019/12/03 21:05:11 UTC

[GitHub] [phoenix] priyankporwal commented on a change in pull request #642: PHOENIX-5590 IndexTool always runs with direct

priyankporwal commented on a change in pull request #642: PHOENIX-5590 IndexTool always runs with direct
URL: https://github.com/apache/phoenix/pull/642#discussion_r353420707
 
 

 ##########
 File path: phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolIT.java
 ##########
 @@ -697,20 +691,19 @@ private static void verifyMapper(Job job, boolean directApi, boolean useSnapshot
         }
         try (Connection conn =
                      DriverManager.getConnection(getUrl(), props)) {
-            PTable dataTable = PhoenixRuntime.getTable(conn, SchemaUtil.getTableName(schemaName, dataTableName));
-            PTable indexTable = PhoenixRuntime.getTable(conn, SchemaUtil.getTableName(schemaName, indexTableName));
+            PTable
+                    dataTable =
 
 Review comment:
   I liked the old way of these lines even if they were a bit longer, were more readable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services