shardulm94 commented on PR #10349:
URL: https://github.com/apache/iceberg/pull/10349#issuecomment-2118529968

   cc: @Fokko @jkolash
   
   @Fokko regarding your comment 
[here](https://github.com/apache/iceberg/issues/10225#issuecomment-2078097905), 
its actually different than what [visiting 
IntLogicalTypeAnnotation](https://github.com/apache/iceberg/pull/9440/files#diff-8ac59cbdbcc60cc0c558051dfe8dcf9ffeb4c66379e48c49867a93ee43e27528R224-R236)
 achieves. The visitor will create a ByteWrite if the annotation of the Parquet 
logical type (based on Iceberg schema) says its a byte. In this case, the table 
schema says its an int (not byte), but the datatype of the Spark DF is byte and 
hence coercion is required.


-- 
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-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to