Github user gatorsmile commented on the issue: https://github.com/apache/spark/pull/16528 ``` createTableHeader ('(' colTypeList ')')? tableProvider (OPTIONS options=tablePropertyList)? (PARTITIONED BY partitionColumnNames=identifierList)? bucketSpec? locationSpec? (COMMENT comment=STRING)? (AS? query)? #createTable ``` ``` def createTable( tableName: String, source: String, schema: StructType, options: Map[String, String]): DataFrame ``` If we compare the above two interfaces, the Catalog's `createTable` API only can create a non-partitioned table. How about adding a new `createTable ` API for users to specify the partitioning info and bucketing info?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org