cloud-fan commented on code in PR #41928:
URL: https://github.com/apache/spark/pull/41928#discussion_r1267596434
##########
sql/api/src/main/scala/org/apache/spark/sql/types/Decimal.scala:
##########
@@ -143,7 +142,7 @@ final class Decimal extends Ordered[Decimal] with
Serializable {
// the scale is 2. The expected precision should be 2.
this._precision = decimal.scale
this._scale = decimal.scale
- } else if (decimal.scale < 0 &&
!SQLConf.get.allowNegativeScaleOfDecimalEnabled) {
+ } else if (decimal.scale < 0 &&
!SqlApiConf.get.allowNegativeScaleOfDecimalEnabled) {
Review Comment:
how do we bind `SqlApiConf.get` to the active SQLConf at the server side?
--
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]