spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-34317) Introduce relationTypeMismatchHint to UnresolvedTable for a better error message
Date Wed, 03 Feb 2021 07:00:16 GMT

    [ https://issues.apache.org/jira/browse/SPARK-34317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277741#comment-17277741
] 

Apache Spark commented on SPARK-34317:
--------------------------------------

User 'imback82' has created a pull request for this issue:
https://github.com/apache/spark/pull/31452

> 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
>            Assignee: Terry Kim
>            Priority: Major
>             Fix For: 3.2.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message