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 2020/03/24 03:17:02 UTC

[GitHub] [phoenix] gjacoby126 commented on a change in pull request #740: PHOENIX-5795 Supporting selective queries for index rows updated conc…

gjacoby126 commented on a change in pull request #740: PHOENIX-5795 Supporting selective queries for index rows updated conc…
URL: https://github.com/apache/phoenix/pull/740#discussion_r396876174
 
 

 ##########
 File path: phoenix-core/src/it/java/org/apache/phoenix/end2end/ConcurrentMutationsExtendedIT.java
 ##########
 @@ -65,6 +69,19 @@ private long verifyIndexTable(String tableName, String indexName, Connection con
         // Now we rebuild the entire index table and expect that it is still good after the full rebuild
         IndexToolIT.runIndexTool(true, false, "", tableName, indexName, null,
                 0, IndexTool.IndexVerifyType.AFTER);
+        // Truncate, rebuild and verify the index table
+        PTable pIndexTable = PhoenixRuntime.getTable(conn, indexName);
+        TableName physicalTableName =
+                org.apache.hadoop.hbase.TableName.valueOf(pIndexTable.getPhysicalName().getBytes());
 
 Review comment:
   nit: don't have to fully qualify TableName since it's imported

----------------------------------------------------------------
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