ChinmaySKulkarni commented on a change in pull request #671: PHOENIX-4845 
Support using Row Value Constructors in OFFSET clause fo…
URL: https://github.com/apache/phoenix/pull/671#discussion_r366630961
 
 

 ##########
 File path: phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
 ##########
 @@ -934,6 +934,22 @@ public static void dumpIndexStatus(Connection conn, 
String indexName) throws IOE
     }
     }
 
+    public static void printResultSet(ResultSet rs) throws SQLException {
+        while(rs.next()){
+            StringBuilder builder = new StringBuilder();
+            int columnCount = rs.getMetaData().getColumnCount();
+            for(int i = 0; i < columnCount; i++) {
+                Object value = rs.getObject(i+1);
+                String output = value == null ? "null" : value.toString();
+                builder.append(output);
+                if(i + 1 < columnCount){
+                    builder.append(",");
+                }
+            }
+            System.out.println(builder.toString());
 
 Review comment:
   ok disregard.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to