nanjeshramesh commented on issue #20504: URL: https://github.com/apache/hudi/issues/20504#issuecomment-6718956874
I would like to take this one. My reading of the trace is that the assignment expressions are bound against the source attributes with Spark's `ByteType` or `ShortType`, while the row `ExpressionPayload` evaluates is deserialized from Avro, where those columns are `int`. So `SpecificInternalRow.getByte` reads a `MutableInt`. I plan to bind those references as `int` and cast back to the original type, with a MERGE INTO test for `tinyint` and `smallint`. @voonhous if you are already working on this, tell me and I will step aside. -- 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]
