You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuanjian Li (Jira)" <ji...@apache.org> on 2019/11/09 04:09:00 UTC
[jira] [Created] (SPARK-29807) Rename "spark.sql.ansi.enabled" to
"spark.sql.dialect.spark.ansi.enabled"
Yuanjian Li created SPARK-29807:
-----------------------------------
Summary: Rename "spark.sql.ansi.enabled" to "spark.sql.dialect.spark.ansi.enabled"
Key: SPARK-29807
URL: https://issues.apache.org/jira/browse/SPARK-29807
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Yuanjian Li
The relation between "spark.sql.ansi.enabled" and "spark.sql.dialect" is confusing, since the "PostgreSQL" dialect should contain the features of "spark.sql.ansi.enabled".
To make things clearer, we can rename the "spark.sql.ansi.enabled" to "spark.sql.dialect.spark.ansi.enabled", thus the option "spark.sql.dialect.spark.ansi.enabled" is only for Spark dialect.
For the casting and arithmetic operations, runtime exceptions should be thrown if
"spark.sql.dialect" is "spark" and "spark.sql.dialect.spark.ansi.enabled" is true
orĀ "spark.sql.dialect" is PostgresSQL.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org