You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2021/06/19 19:11:00 UTC

[jira] [Updated] (SPARK-35827) Show proper error message when update column types to year-month/day-time interval

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

Kousuke Saruta updated SPARK-35827:
-----------------------------------
    Summary: Show proper error message when update column types to year-month/day-time interval  (was: Show proper erro message when update column types to year-month/day-time interval)

> Show proper error message when update column types to year-month/day-time interval
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-35827
>                 URL: https://issues.apache.org/jira/browse/SPARK-35827
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Kousuke Saruta
>            Assignee: Apache Spark
>            Priority: Major
>
> Updating column types to interval types are prohibited for V2 source tables.
> So, if we attempt to update the type of a column to the conventional interval type, an error message like "Error in query: Cannot update <table> field <column> to interval type;".
> But, for year-month/day-time interval types, another error message like "Error in query: Cannot update <table> field <column>:<type> cannot be cast to interval year;"
> It's not consistent.



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