Terry Kim created SPARK-34317:
---------------------------------

             Summary: Introduce relationTypeMismatchHint to UnresolvedTable for 
a better error message
                 Key: SPARK-34317
                 URL: https://issues.apache.org/jira/browse/SPARK-34317
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Terry Kim


The relationTypeMismatchHint in UnresolvedTable can be used to give a hint if 
the resolved relation is a view. For example, for "ALTER TABLE t ...", if "t" 
is resolved a view, the error message will also contain a hint, "Please use 
ALTER VIEW instead."



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to