Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45075

Alter table with invalid default value will not report error

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            fanjia Jia Fan
            fanjia Jia Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: