pan3793 commented on code in PR #41062: URL: https://github.com/apache/spark/pull/41062#discussion_r1188666027
########## sql/catalyst/src/main/java/org/apache/spark/sql/connector/write/SupportsCustomSchemaWrite.java: ########## @@ -27,12 +28,12 @@ * @since 3.4.1 */ @Evolving -public interface SupportsCustomSchemaWrite { +public interface SupportsCustomSchemaWrite extends Table { /** * Represents a table with a custom schema to use for resolving DEFAULT column references when * inserting into the table. For example, this can be useful for excluding hidden pseudocolumns. * * @return the new schema to use for this process. */ - StructType customSchemaForInserts(); + Column[] customColumnsForInserts(); Review Comment: Yes, it was added in https://github.com/apache/spark/pull/40996, for 3.4.1 and 3.5.0 -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org