zhangyue19921010 commented on code in PR #11187:
URL: https://github.com/apache/paimon/pull/11187#discussion_r4586567397


##########
paimon-core/src/main/java/org/apache/paimon/table/sink/TableWriteImpl.java:
##########
@@ -74,6 +75,7 @@ public class TableWriteImpl<T> implements InnerTableWrite, 
Restorable<List<State
 
     private @Nullable DefaultValueRow defaultValueRow;
     private @Nullable GeneratedColumnRow generatedColumnRow;
+    private @Nullable ProjectedRow keyAndBucketRow;

Review Comment:
    Done: TableWriteImpl now re-creates keyAndBucketExtractor from the current 
write type instead of adding keyAndBucketRow. A write type without the 
partition or bucket keys now throws a clear error rather than silently writing 
to the default partition.



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

Reply via email to