Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12446#discussion_r59980873
  
    --- 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 --
    
    So the order of partition column names in give partition spec is strict? 
I.e., given partition specs is ["b", "a"] and the table metadata is ["a", "b"]. 
We don't allow this?


---
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]

Reply via email to