[
https://issues.apache.org/jira/browse/SPARK-28395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan reassigned SPARK-28395:
-----------------------------------
Assignee: Yuming Wang
> 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
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]