voonhous commented on issue #18974:
URL: https://github.com/apache/hudi/issues/18974#issuecomment-7095683436

   #20760 takes option 3 on the Spark side: the `bulk_insert` row writer now 
writes `ByteType` / `ShortType` as plain INT32, matching the table's `int` and 
the other Spark write paths. It also widens existing INT(8) / INT(16) files to 
int on read and lets column stats handle those annotations, which covers Spark 
`bulk_insert` files written before the fix and Flink `bulk_insert` / append 
files up to 1.2.0.
   
   The Flink half, widening TINYINT / SMALLINT to the write schema's int in 
`HoodieTableSink` so new writes stop storing zero-extended values, will follow 
as a separate PR from voonhous/hudi@2773e79. Spark MERGE INTO (#20504) is still 
open under the same approach.
   


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

Reply via email to