yihua commented on code in PR #12343:
URL: https://github.com/apache/hudi/pull/12343#discussion_r1861167538
##########
hudi-common/src/main/java/org/apache/hudi/common/engine/TaskContextSupplier.java:
##########
@@ -35,4 +36,12 @@ public abstract class TaskContextSupplier implements
Serializable {
public abstract Supplier<Long> getAttemptIdSupplier();
public abstract Option<String> getProperty(EngineProperty prop);
+
+ public Option<HoodieReaderContext> getReaderContext() {
Review Comment:
Also, see if you can plug in the reader context from the engine-specific
compaction handling as @danny0405 mentioned, to avoid new API in
`HoodieEngineContext` or `TaskContextSupplier`.
--
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]