[ 
https://issues.apache.org/jira/browse/HUDI-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lamber-ken updated HUDI-496:
----------------------------
    Description: 
 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}
 

 

  was:
 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}
 

 


> Fix wrong check logic in HoodieIncrementalPull
> ----------------------------------------------
>
>                 Key: HUDI-496
>                 URL: https://issues.apache.org/jira/browse/HUDI-496
>             Project: Apache Hudi (incubating)
>          Issue Type: Sub-task
>          Components: Incremental Pull
>            Reporter: lamber-ken
>            Assignee: lamber-ken
>            Priority: Major
>
>  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