peter-toth opened a new pull request #27656: [SPARK-30898][SQL] The behavior of 
MakeDecimal should not depend on SQLConf.get
URL: https://github.com/apache/spark/pull/27656
 
 
   ### What changes were proposed in this pull request?
   This PR adds a new `nullOnOverflow` parameter to `MakeDecimal` so as to 
avoid its value depending on `SQLConf.get` and change during planning.
   
   ### Why are the changes needed?
   This allows to avoid the issue when the configuration change between 
different phases of planning, and this can silently break a query plan which 
can lead to crashes or data corruption.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   Existing UTs.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to