[HUDI-5007] Prevent Hudi from reading the entire timeline's when perf…#6920
[HUDI-5007] Prevent Hudi from reading the entire timeline's when perf…#6920danny0405 merged 1 commit intoapache:masterfrom
Conversation
|
Nice catch, i have reviewed and applied a patch here: Can you also add a test class in You can take a reference from |
Apologies for the late reply, given that the read behaviour is correct, the only way we can test this fix is to make the This bug is caused by The Hence, I believe a test should be performed on the generation of To do this, one will have to make the method public or use Reflection to access this class, I am not sure if loading the class in via reflection is the right way to approach this test. Do you have any suggestions? |
907782e to
bdf960d
Compare
|
@danny0405 Added the required tests to validate this fix, can you please to take a look at it again? Thank you. |
058d52e to
c9060e7
Compare
...flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/IncrementalInputSplits.java
Show resolved
Hide resolved
...k-datasource/hudi-flink/src/test/java/org/apache/hudi/source/TestIncrementalInputSplits.java
Show resolved
Hide resolved
…orming a LATEST streaming read
|
@danny0405 Added the changes that you have suggested. Thank you. |
|
The failed test case in module hudi-utilities should not be affected by this patch, would merge it soon ~ |
…orming a LATEST streaming read (#6920)
…orming a LATEST streaming read (#6920)
…orming a LATEST streaming read (apache#6920) (cherry picked from commit 6baf733)
* [HUDI-5007] Prevent Hudi from reading the entire timeline's when performing a LATEST streaming read (#6920) (cherry picked from commit 6baf733) * [HUDI-5228] Flink table service job fs view conf overwrites the one of writing job (#7214) (cherry picked from commit dc5cc08) Co-authored-by: voonhous <voonhousu@gmail.com>
…orming a LATEST streaming read (apache#6920)
…orming a LATEST streaming read
Change Logs
Prevent Hudi from performing unnecessary file scans when performing a stream read from the latest instant.
Impact
No public API changed, changing the access level of a private method from private to public so that it can be used for testing
Risk level (write none, low medium or high below)
low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change
ticket number here and follow the instruction to make
changes to the website.
Contributor's checklist