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 2020/11/06 16:17:25 UTC

[GitHub] [orc] pgaref opened a new pull request #567: ORC-672: FIX ORC type conversion withing arrays where array.length > 1024 (the default CV size)

pgaref opened a new pull request #567:
URL: https://github.com/apache/orc/pull/567


   ### What changes were proposed in this pull request?
   Orc type conversion is throwing ArrayIndexOutOfBoundsException when using ColumnVectors larger than 1024.
   The issue is originating in ConvertTreeReaderFactory where we convert types always using the default len instead of the specific batch size.
   
   
   
   
   ### Why are the changes needed?
   This PR takes into account batchSize when converting types and adds tests for all possible type conversions (with large batchSize) as part of TestConvertTreeReaderFactory.
   
   
   ### How was this patch tested?
   TestConvertTreeReaderFactory
   


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



[GitHub] [orc] pgaref closed pull request #567: ORC-672: FIX ORC type conversion within arrays where array.length > 1024 (the default CV size)

Posted by GitBox <gi...@apache.org>.
pgaref closed pull request #567:
URL: https://github.com/apache/orc/pull/567


   


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