shardulm94 commented on issue #7775:
URL: https://github.com/apache/iceberg/issues/7775#issuecomment-1612440097

   @ZhendongBai Since the issue is specific to string columns, I am guessing 
Iceberg and Spark might different setting for ORC's dictionary encoding for 
string columns. See 
https://orc.apache.org/specification/ORCv1/#string-char-and-varchar-columns
   
   One way to verify this would be to run `orc-tools` command on the generated 
ORC files. See https://orc.apache.org/docs/java-tools.html. Take a look at the 
[encoding for the 
columns](https://orc.apache.org/docs/java-tools.html#:~:text=Encoding%20column%2014%3A-,DICTIONARY_V2,-%5B2%5D%0A%20%20%20%20Encoding%20column),
 if dictionary encoding is used it would be DICTIONARY or DICTIONARY_V2, if not 
it would be DIRECT or DIRECT_V2.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to