You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2021/02/08 12:10:03 UTC
[spark] branch branch-3.1 updated: [SPARK-33354][DOC] Remove an
unnecessary quote in doc
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 0ac4f04 [SPARK-33354][DOC] Remove an unnecessary quote in doc
0ac4f04 is described below
commit 0ac4f04b8bbce75526308e6a93b11f1ba8de77e7
Author: Gengliang Wang <ge...@databricks.com>
AuthorDate: Mon Feb 8 21:08:34 2021 +0900
[SPARK-33354][DOC] Remove an unnecessary quote in doc
Remove an unnecessary quote in the documentation.
Super trivial.
Fix a mistake.
No
Just doc
Closes #31523 from gengliangwang/removeQuote.
Authored-by: Gengliang Wang <ge...@databricks.com>
Signed-off-by: HyukjinKwon <gu...@apache.org>
(cherry picked from commit 88ced28141beb696791ae67eac35219de942bf31)
Signed-off-by: HyukjinKwon <gu...@apache.org>
---
docs/sql-ref-ansi-compliance.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sql-ref-ansi-compliance.md b/docs/sql-ref-ansi-compliance.md
index 983633a..bb62f76 100644
--- a/docs/sql-ref-ansi-compliance.md
+++ b/docs/sql-ref-ansi-compliance.md
@@ -62,7 +62,7 @@ Spark SQL has three kinds of type conversions: explicit casting, type coercion,
When `spark.sql.ansi.enabled` is set to `true`, explicit casting by `CAST` syntax throws a runtime exception for illegal cast patterns defined in the standard, e.g. casts from a string to an integer.
On the other hand, `INSERT INTO` syntax throws an analysis exception when the ANSI mode enabled via `spark.sql.storeAssignmentPolicy=ANSI`.
-The type conversion of Spark ANSI mode follows the syntax rules of section 6.13 "cast specification" in [ISO/IEC 9075-2:2011 Information technology — Database languages - SQL — Part 2: Foundation (SQL/Foundation)"](https://www.iso.org/standard/53682.html), except it specially allows the following
+The type conversion of Spark ANSI mode follows the syntax rules of section 6.13 "cast specification" in [ISO/IEC 9075-2:2011 Information technology — Database languages - SQL — Part 2: Foundation (SQL/Foundation)](https://www.iso.org/standard/53682.html), except it specially allows the following
straightforward type conversions which are disallowed as per the ANSI standard:
* NumericType <=> BooleanType
* StringType <=> BinaryType
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org