You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/02/14 07:35:11 UTC

[GitHub] [incubator-hudi] lamber-ken commented on issue #1334: [HUDI-612] Fix return no data when using incremental query

lamber-ken commented on issue #1334: [HUDI-612] Fix return no data when using incremental query
URL: https://github.com/apache/incubator-hudi/pull/1334#issuecomment-586135378
 
 
   Right,  I understand the "incremental" in a wrong way. 
   BTW, how does user query data when specify a specific time instant, like 
   ```
   spark.
       read.
       format("org.apache.hudi").
       option("hoodie.datasource.query.type", "incremental").
       option("hoodie.datasource.read.begin.instanttime", "20200214083611").
       option("hoodie.datasource.read.end.instanttime", "20200214083611").
       load(basePath).
       createOrReplaceTempView("hudi_trips_incremental")
   
   spark.sql("select * from hudi_trips_incremental").show(50)
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services