You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jose Torres (Jira)" <ji...@apache.org> on 2019/09/16 22:48:00 UTC
[jira] [Created] (SPARK-29103) CheckAnalysis for data source V2
ALTER TABLE ignores case sensitivity
Jose Torres created SPARK-29103:
-----------------------------------
Summary: CheckAnalysis for data source V2 ALTER TABLE ignores case sensitivity
Key: SPARK-29103
URL: https://issues.apache.org/jira/browse/SPARK-29103
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Reporter: Jose Torres
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.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org