[ 
https://issues.apache.org/jira/browse/SPARK-54028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-54028.
---------------------------------
    Fix Version/s: 4.1.0
                   4.0.2
       Resolution: Fixed

Issue resolved by pull request 52730
[https://github.com/apache/spark/pull/52730]

> Use empty schema when altering a view which is not Hive compatible
> ------------------------------------------------------------------
>
>                 Key: SPARK-54028
>                 URL: https://issues.apache.org/jira/browse/SPARK-54028
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0, 4.0.1
>            Reporter: Chiran Ravani
>            Assignee: Chiran Ravani
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0, 4.0.2
>
>
> Spark attempts to save views in a Hive-compatible format and only sets the 
> schema to empty if the save operation fails.
> However, due to certain Hive compatibility issues, the save operation may 
> succeed while subsequent read operations fail. This issue arises after the 
> change introduced in SPARK-46934, which removed the {{verifyColumnDataType}} 
> check during the {{ALTER TABLE}} operation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to