[ https://issues.apache.org/jira/browse/SPARK-35827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-35827. ------------------------------ Fix Version/s: 3.2.0 Resolution: Fixed Issue resolved by pull request 32978 [https://github.com/apache/spark/pull/32978] > 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 > Fix For: 3.2.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org