lamber-ken created HUDI-496:
-------------------------------

             Summary: Fix wrong check logic in HoodieIncrementalPull
                 Key: HUDI-496
                 URL: https://issues.apache.org/jira/browse/HUDI-496
             Project: Apache Hudi (incubating)
          Issue Type: Bug
          Components: Incremental Pull
            Reporter: lamber-ken


 

Wrong check logic, right statement can not go throungh.

 
{code:java}
select `_hoodie_commit_time`, symbol, ts from default.stock_ticks_cow where  
symbol = 'GOOG' and `_hoodie_commit_time` > '20180924064621'
{code}
Exception Stackstrace
{code:java}
Exception in thread "main" 
org.apache.hudi.utilities.exception.HoodieIncrementalPullSQLException: 
Incremental SQL does not have clause `_hoodie_commit_time` > '%targetBasePath', 
which means its not pulling incrementally
        at 
org.apache.hudi.utilities.HiveIncrementalPuller.executeIncrementalSQL(HiveIncrementalPuller.java:192)
        at 
org.apache.hudi.utilities.HiveIncrementalPuller.saveDelta(HiveIncrementalPuller.java:157)
        at 
org.apache.hudi.utilities.HiveIncrementalPuller.main(HiveIncrementalPuller.java:345)

{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to