cloud-fan commented on issue #27683: [SPARK-30917][SQL]: The behaviour of UnaryMinus should not depend on SQLConf.get URL: https://github.com/apache/spark/pull/27683#issuecomment-590317541 Actually, the behavior is already fixed after the expression is created, as the flag is declared as `private val checkOverflow = SQLConf.get.ansiEnabled`. So this PR just makes it more stable, to avoid some corner cases like transform the expression tree with a different SQL config.
---------------------------------------------------------------- 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]
