L. C. Hsieh created SPARK-49787:
-----------------------------------

             Summary: Cast between UDT and other types
                 Key: SPARK-49787
                 URL: https://issues.apache.org/jira/browse/SPARK-49787
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: L. C. Hsieh


Our customer faced an error when migrating queries that write UDT column from 
Hive to Iceberg table.

The error happens when Spark tries to cast UDT column to the data type (i.e., 
the sql type of the UDT) of the table column. The cast is added by table column 
resolution rule for V2 writing commands.

Currently `Cast` expression doesn't support casting between UDT and other types.



--
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