1032851561 opened a new issue, #6167:
URL: https://github.com/apache/hudi/issues/6167

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   When using flink SQL to incrementally query the mor table within the 
archived range (read.start-commit ,read.end-commit), no result returned and  
"No new instant found for the table under path xxx" is printed in the log
   
   **To Reproduce**
   1. create mytable with below options:
   ```
   'read.start-commit' = '20220721150000'
   'read.end-commit' = '20220721151500'
   'read.streaming.enabled' = 'true'
   ```
   Instants between 20220721150000 and 20220721151500 have been archived in the 
.hoodie/archive dir.
   
   2. select table and print
   ```
   tEnv.sqlQuery("select * from mytable").execute().print();
   ```
   
   **Expected behavior**
   
   `org.apache.hudi.source.IncrementalInputSplits#inputSplits` directly returns 
empty if  no active instants in query range. In this case, why not merge 
archived instants before return?
   
   
![image](https://user-images.githubusercontent.com/15909510/180176777-b15a9e30-1db9-4077-a897-30468ff5d1d2.png)
    
   
   **Environment Description**
   
   * Hudi version : 0.11.0
   
   * flink version : 1.13.6
   
   
    
   


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