You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2021/11/29 16:42:00 UTC
[jira] [Created] (SPARK-37490) Show hint if analyzer fails due to ANSI type coercion
Gengliang Wang created SPARK-37490:
--------------------------------------
Summary: Show hint if analyzer fails due to ANSI type coercion
Key: SPARK-37490
URL: https://issues.apache.org/jira/browse/SPARK-37490
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.3.0
Reporter: Gengliang Wang
Assignee: Gengliang Wang
Show hint in the error message if analysis failed only with ANSI type coercion:
{code:java}
To fix the error, you might need to add explicit type casts.
To bypass the error with lenient type coercion rules, set spark.sql.ansi.enabled as false. {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org