aokolnychyi commented on code in PR #55518:
URL: https://github.com/apache/spark/pull/55518#discussion_r4428856251
##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/write/DataWriter.java:
##########
@@ -68,8 +70,11 @@ public interface DataWriter<T> extends Closeable {
* Writes one record with metadata.
* <p>
* This method is used by group-based row-level operations to pass back
metadata for records
- * that are updated or copied. New records added during a MERGE operation
are written using
- * {@link #write(Object)} as there is no metadata associated with those
records.
+ * that are updated or copied. When {@link
LogicalWriteInfo#columnUpdateSchema()} is present for
Review Comment:
This makes sense.
--
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]