Github user ericl commented on a diff in the pull request:
https://github.com/apache/spark/pull/16090#discussion_r90555068
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
---
@@ -565,7 +571,8 @@ class DDLSuite extends QueryTest with SharedSQLContext
with BeforeAndAfterEach {
val table = catalog.getTableMetadata(TableIdentifier("tbl"))
assert(table.tableType == CatalogTableType.MANAGED)
assert(table.provider == Some("parquet"))
- assert(table.schema == new StructType().add("a",
IntegerType).add("b", IntegerType))
+ // a is ordered last since it is a user-specified partitioning column
+ assert(table.schema == new StructType().add("b",
IntegerType).add("a", IntegerType))
--- End diff --
@yhuai this is the minor behavior change we discussed about create table in
2.1
---
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]