[
https://issues.apache.org/jira/browse/SPARK-45075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762110#comment-17762110
]
Ignite TC Bot commented on SPARK-45075:
---------------------------------------
User 'Hisoka-X' has created a pull request for this issue:
https://github.com/apache/spark/pull/42810
> Alter table with invalid default value will not report error
> ------------------------------------------------------------
>
> Key: SPARK-45075
> URL: https://issues.apache.org/jira/browse/SPARK-45075
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.4.1, 3.5.0
> Reporter: Jia Fan
> Priority: Major
>
> create table t(i boolean, s bigint);
> alter table t alter column s set default badvalue;
>
> The code wouldn't report error on DataSource V2, not align with V1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]