dongjoon-hyun commented on code in PR #45637:
URL: https://github.com/apache/spark/pull/45637#discussion_r1534931161
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/CatalogSuite.scala:
##########
@@ -111,6 +111,29 @@ class CatalogSuite extends SparkFunSuite {
assert(catalog.tableExists(testIdent))
}
+ test("createTable: partitioned table") {
+ val partCatalog = new InMemoryPartitionTableCatalog
+ partCatalog.initialize("test", CaseInsensitiveStringMap.empty())
+
+ assert(!partCatalog.tableExists(testIdent))
+
+ val columns = Array(
+ Column.create("col0", IntegerType),
+ Column.create("part0", IntegerType))
+ val table = partCatalog.createTable(
Review Comment:
If you want to add a test coverage for `createTable` method, could you
revise the PR title in that way?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]