JunRuiLee commented on code in PR #7832:
URL: https://github.com/apache/paimon/pull/7832#discussion_r3353977688
##########
paimon-core/src/main/java/org/apache/paimon/operation/AbstractFileStoreWrite.java:
##########
@@ -167,6 +169,15 @@ public void withCompactExecutor(ExecutorService
compactExecutor) {
@Override
public void write(BinaryRow partition, int bucket, T data) throws
Exception {
+ if (compactOnly) {
Review Comment:
Removed the guard. It was a defensive runtime check for the
dedicated-compact path. Agree it's too intrusive on the hot path.
--
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]