hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-hudi] lamber-ken commented on issue #1334: [HUDI-612] Fix return no data when using incremental query
Date Fri, 14 Feb 2020 07:35:11 GMT
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

Mime
View raw message