brkyvz commented on a change in pull request #25305: [SPARK-28572][SQL] Simple
analyzer checks for CREATE TABLE v2
URL: https://github.com/apache/spark/pull/25305#discussion_r309788724
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceResolution.scala
##########
@@ -245,6 +246,55 @@ case class DataSourceResolution(
catalog: TableCatalog,
identifier: Identifier,
create: CreateTableStatement): CreateV2Table = {
+
+ val isCaseSensitive = conf.caseSensitiveAnalysis
Review comment:
The catalog can decide to do additional checks, but if they don't set
Spark's case sensitivity properly, performing any operation on these tables may
fail, so it's better to fail early.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]