deshanxiao commented on code in PR #1387:
URL: https://github.com/apache/orc/pull/1387#discussion_r1111410637


##########
java/core/src/test/org/apache/orc/impl/TestReaderImpl.java:
##########
@@ -527,4 +527,41 @@ public void testWithoutCompressionBlockSize() throws 
IOException {
       }
     }
   }
+
+  @Test
+  public void testSargSkipPickupGroupWithoutIndex() throws IOException {
+    Configuration conf = new Configuration();
+    // We use ORC files in two languages to test, the previous Java version 
could not work
+    // well when stripeSize > 0 and orc.create.index=false, now it can skip 
these row groups.
+    Path[] paths = new Path[] {
+        // Writen by C++ API with schema struct<x:int,y:string> stripeSize=0

Review Comment:
   Thank you @pavibhai  Fixed it.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to