efegokdemir opened a new pull request, #7750:
URL: https://github.com/apache/datafusion-comet/pull/7750

   ## Which issue does this PR close?
   
   Closes #7748.
   
   ## Rationale for this change
   
   Arrow stores Decimal128 scales as signed 8-bit values. Out-of-range Spark 
scales can wrap during type conversion and change the represented value.
   
   ## What changes are included in this PR?
   
   - Reject decimal scales outside Arrow's supported range at serde and 
Spark-to-Arrow boundaries, including nested types and literals.
   - Include the unsupported output type in sink fallback reasons.
   
   ## How are these changes tested?
   
   - The new decimal-scale regression in `CometNativeCastSuite` passed.
   - The row-conversion sink regression in `CometNativeShuffleSuite` passed.
   - Spotless, Scalastyle and `git diff --check` passed.


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