gengliangwang commented on code in PR #41191:
URL: https://github.com/apache/spark/pull/41191#discussion_r1221035571
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/v2Commands.scala:
##########
@@ -437,6 +437,12 @@ trait V2CreateTablePlan extends LogicalPlan {
def withPartitioning(rewritten: Seq[Transform]): V2CreateTablePlan
}
+/** A trait used for logical plan nodes that create or replace new table
specifications. */
+trait HasTableSpec extends LogicalPlan {
+ def tableSpec: TableSpec
+ def unresolvedOptionsList: UnresolvedOptionsList
Review Comment:
Even when a logical plan like `CreateTable` is resolved, it will carry the
method `unresolvedOptionsList`
--
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]