huaxingao commented on a change in pull request #34060:
URL: https://github.com/apache/spark/pull/34060#discussion_r753876015



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/streaming/DataStreamWriter.scala
##########
@@ -288,19 +289,21 @@ final class DataStreamWriter[T] private[sql](ds: 
Dataset[T]) {
        * Note, currently the new table creation by this API doesn't fully 
cover the V2 table.
        * TODO (SPARK-33638): Full support of v2 table creation
        */
-      val cmd = CreateTableStatement(
-        originalMultipartIdentifier,
+      val cmd = CreateV2Table(
+        UnresolvedDBObjectName(
+          originalMultipartIdentifier,
+          isNamespace = true),

Review comment:
       This should be false. 




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

Reply via email to