Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/397#discussion_r229057356
--- Diff:
phoenix-core/src/it/java/org/apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java
---
@@ -151,13 +147,17 @@ private void configureJob(Job job, String tableName,
String inputQuery, String c
if (condition != null) {
selectQuery.append(" WHERE " + condition);
}
+
if (inputQuery == null)
inputQuery = selectQuery.toString();
ResultSet rs = DriverManager.getConnection(getUrl(),
props).createStatement().executeQuery(inputQuery);
for (List<Object> r : result) {
- assertTrue("No data stored in the table!", rs.next());
+ if (rs.next() == false) {
+ System.out.println("Placeholder");
--- End diff --
remove
---