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

CheckAnalysis for data source V2 ALTER TABLE ignores case sensitivity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 3.0.0
    • None
    • SQL
    • None

    Description

      For each column referenced, we run

      ```val field = table.schema.findNestedField(fieldName, includeCollections = true)```

      and fail analysis if the field isn't there. This check is always case-sensitive on column names, even if the underlying catalog is case insensitive, so it will sometimes throw on ALTER operations which the catalog supports.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joseph.torres Jose Torres
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: