Chiran Ravani created SPARK-54028:
-------------------------------------

             Summary: 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.1, 4.0.0
            Reporter: Chiran Ravani


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