You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "cxzl25 (via GitHub)" <gi...@apache.org> on 2023/02/17 04:52:11 UTC

[GitHub] [orc] cxzl25 commented on pull request #1412: ORC-1373: Add log when DynamicByteArray length overflow

cxzl25 commented on PR #1412:
URL: https://github.com/apache/orc/pull/1412#issuecomment-1434099073

   > Could we throw a more accurate exception about it?
   
   How about this?
   
   ```java
   java.lang.RuntimeException: chunkIndex overflow:-65535. You can set orc.column.encoding.direct=columnName, or orc.dictionary.key.threshold=0 to turn off dictionary encoding.
   	at org.apache.orc.impl.DynamicByteArray.grow(DynamicByteArray.java:73)
   	at org.apache.orc.impl.DynamicByteArray.add(DynamicByteArray.java:122)
   	at org.apache.orc.impl.TestDynamicArray.testBigByteArray(TestDynamicArray.java:36)
   ```
   
   
   


-- 
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: issues-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org