shyjsarah opened a new pull request, #9493:
URL: https://github.com/apache/paimon/pull/9493

   ### Purpose
   
   `AbstractSparkInternalRow.get` did not handle two Spark data types exposed 
by Paimon mappings:
   
   - Paimon `TIMESTAMP` maps to Spark `TimestampNTZType`, but generic row 
access only recognized `TimestampType`.
   - Spark 4 `VariantType` fell through to the unsupported-type branch even 
though dedicated variant access was available.
   
   This change handles `TimestampNTZType` as Spark's internal microsecond 
`long` representation and adds a shimmed Paimon-to-Spark variant conversion for 
generic row access across Spark versions.
   
   ### Tests
   
   - `SparkInternalRowTest#testGetTimestampNtz` (Spark 3.5) passed.
   - `SparkInternalRowVariantTest` (Spark 4.0) passed.
   - `mvn spotless:apply`
   


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