gokceni commented on a change in pull request #491: PHOENIX-5168 
IndexScrutinyTool to output to Table when that option is…
URL: https://github.com/apache/phoenix/pull/491#discussion_r279042616
 
 

 ##########
 File path: 
phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexScrutinyToolIT.java
 ##########
 @@ -172,6 +173,14 @@
         protected long getCounterValue(Counters counters, 
Enum<PhoenixScrutinyJobCounters> counter) {
             return counters.findCounter(counter).getValue();
         }
+
+        protected int countRows(Connection conn, String tableFullName) throws 
SQLException {
+            ResultSet count = conn.createStatement().executeQuery("select 
count(*) from " + tableFullName);
 
 Review comment:
   This is integration test. It will not be large.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to