You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "lamber-ken (Jira)" <ji...@apache.org> on 2020/01/04 22:58:00 UTC

[jira] [Commented] (HUDI-496) Fix wrong check logic in HoodieIncrementalPull

    [ https://issues.apache.org/jira/browse/HUDI-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008182#comment-17008182 ] 

lamber-ken commented on HUDI-496:
---------------------------------

hi [~Pratyaksh], I am not sure whether this issue is duplicated to https://issues.apache.org/jira/browse/HUDI-485 or not. If it is, I'll close this. :)

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