Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/12446#discussion_r59985069
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
---
@@ -368,6 +368,12 @@ class SessionCatalog(
tableName: TableIdentifier,
parts: Seq[CatalogTablePartition],
ignoreIfExists: Boolean): Unit = {
+ val tableMetadata = getTableMetadata(tableName)
+ // Verify if each part exactly matches the partition spec of the table
definition
+ parts.foreach { p =>
--- End diff --
Hive allows it. In RDBMS, the order of partitioning columns matters. In
Hive partitioning, each partition only has a static partitioning value. Anyway,
let me follow what Hive did. Thanks!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]