phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [phoenix] gokceni commented on a change in pull request #491: PHOENIX-5168 IndexScrutinyTool to output to Table when that option is…
Date Fri, 26 Apr 2019 17:42:10 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message