Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor
  • Loading branch information
cloud-fan committed Nov 5, 2016
commit 3bd9362062b41ad64146cd24936501f4dfd65b68
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ private[spark] class HiveExternalCatalog(conf: SparkConf, hadoopConf: Configurat
// from hive.
logWarning(s"The table schema given by Hive metastore(${table.schema.simpleString}) is " +
"different from the schema when this table was created by Spark SQL" +
s"(${schemaFromTableProps.simpleString}). We have to trust the table schema from Hive " +
"metastore which is not case preserving.")
s"(${schemaFromTableProps.simpleString}). We have to fall back to the table schema from " +
"Hive metastore which is not case preserving.")
hiveTable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there cases where this could be issue? Should we log a warning here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea!

}
}
Expand Down