You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/01/31 11:44:18 UTC

[GitHub] vvysotskyi commented on a change in pull request #1631: DRILL-6862: Update Calcite to 1.18.0

vvysotskyi commented on a change in pull request #1631: DRILL-6862: Update Calcite to 1.18.0
URL: https://github.com/apache/drill/pull/1631#discussion_r252634318
 
 

 ##########
 File path: exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet2/TestDrillParquetReader.java
 ##########
 @@ -434,4 +434,20 @@ public void testLogicalIntTypes5() throws Exception {
         .build().run();
   }
 
+  @Test // DRILL-6856
+  public void testIsTrueOrNullCondition() throws Exception {
+    Object[] expectedRowValues = new Object[9];
+    // 7 true values and 2 null values in the end
+    Arrays.fill(expectedRowValues, 0, expectedRowValues.length - 2, true);
+    testBuilder()
+        .sqlQuery("SELECT bool_col " +
+            "FROM cp.`parquet2/0_0_0.parquet` " +
 
 Review comment:
   Is it possible to use an existing table or at least create it in the test?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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