vvysotskyi commented on a change in pull request #1970: DRILL-7504: Upgrade 
Parquet library to 1.11.0
URL: https://github.com/apache/drill/pull/1970#discussion_r375879637
 
 

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestPushDownAndPruningForDecimal.java
 ##########
 @@ -692,13 +687,19 @@ public void testDecimalPruningWithNullPartition() throws 
Exception {
 
         long actualRowCount = 
client.queryBuilder().sql(query).run().recordCount();
         assertEquals("Row count does not match the expected value", 
expectedRowCount, actualRowCount);
-        PlanTestBase.testPlanMatchingPatterns(query, new 
String[]{"usedMetadataFile=false"}, new String[]{"Filter"});
+
+        String plan = client.queryBuilder().sql(query).explainText();
 
 Review comment:
   Could you please replace it with `planMatcher()`:
   ```
           queryBuilder()
               .sql(query)
               .planMatcher()
               .include("usedMetadataFile=false")
               .exclude("Filter")
               .match();
   ```
   Here and in the code below.

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