You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by GitBox <gi...@apache.org> on 2021/03/23 13:14:29 UTC

[GitHub] [orc] dongjoon-hyun commented on a change in pull request #650: ORC-756: Include Vector Length Error with null readerSchema (for ACID formats)

dongjoon-hyun commented on a change in pull request #650:
URL: https://github.com/apache/orc/pull/650#discussion_r599555095



##########
File path: java/mapreduce/src/test/org/apache/orc/mapreduce/TestMapreduceOrcOutputFormat.java
##########
@@ -153,6 +155,34 @@ public void testColumnSelection() throws Exception {
     assertEquals(false, reader.nextKeyValue());
   }
 
+  @Test
+  public void testAcidSelectionNoSchema() throws IOException, InterruptedException {
+    TaskAttemptID id = new TaskAttemptID("jt", 0, TaskType.MAP, 0, 1);
+    TaskAttemptContext attemptContext = new TaskAttemptContextImpl(conf, id);
+    // struct<operation:int,originalTransaction:bigint,bucket:int,rowId:bigint,currentTransaction:bigint,
+    // row:struct<i:int,j:int,k:int>>

Review comment:
       I verified that the newly added test file has 5000 rows with this schema correctly.




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