You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2023/09/08 20:19:00 UTC

[jira] [Resolved] (SPARK-45075) Alter table with invalid default value will not report error

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

Dongjoon Hyun resolved SPARK-45075.
-----------------------------------
    Fix Version/s: 3.5.1
                   4.0.0
                   3.4.2
       Resolution: Fixed

Issue resolved by pull request 42810
[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
>            Assignee: Jia Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.1, 4.0.0, 3.4.2
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org