gengliangwang commented on a change in pull request #30273:
URL: https://github.com/apache/spark/pull/30273#discussion_r519895339
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/TableProvider.java
##########
@@ -77,8 +77,10 @@
/**
* Returns true if the source has the ability of accepting external table
metadata when getting
- * tables. The external table metadata includes user-specified schema from
- * `DataFrameReader`/`DataStreamReader` and schema/partitioning stored in
Spark catalog.
+ * tables. The external table metadata includes:
+ * 1. For table reader: user-specified schema from
`DataFrameReader`/`DataStreamReader` and
+ * schema/partitioning stored in Spark catalog.
+ * 2. For table writer: the schema of the input `Dataframe` of
`DataframeWriter`.
Review comment:
Yes. I have just updated the code
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]