[ https://issues.apache.org/jira/browse/SPARK-28395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-28395. --------------------------------- Resolution: Fixed Fix Version/s: 3.0.0 Issue resolved by pull request 25158 [https://github.com/apache/spark/pull/25158] > Division operator support integral division > ------------------------------------------- > > Key: SPARK-28395 > URL: https://issues.apache.org/jira/browse/SPARK-28395 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.0.0 > Reporter: Yuming Wang > Priority: Major > Fix For: 3.0.0 > > > PostgreSQL, Teradata, SQL Server, DB2 and Presto perform integral division > with the {{/}} operator. > But Oracle, Vertica, Hive, MySQL and MariaDB perform fractional division with > the {{/}} operator. > We need add a flag({{spark.sql.function.preferIntegralDivision}}) to control > whether to use integral division with the {{/}} operator. > -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org