bithw1 opened a new issue, #8370: URL: https://github.com/apache/hudi/issues/8370
I am reading at https://hudi.apache.org/docs/quick-start-guide#time-travel-query and https://hudi.apache.org/docs/quick-start-guide#point-in-time-query. Below are the two examples for the time travel query and point in time query. But it looks to me that these two queries are doing the same thing: they are both doing the `snapshot query` until the time:20210728141108100. Not sure I have understood correctly ,but I wonder why the query examples have two different names(time travel query vs point in time query). For the time travel query, the example in the doc is: ``` spark.read. format("hudi"). option("as.of.instant", "20210728141108100"). load(basePath) ``` For the point in time query, the example in the doc is: ```` val beginTime = "000" /// the begin time is 000,denoting the earlist commit val endTime = "20210728141108100" //incrementally query data val tripsPointInTimeDF = spark.read.format("hudi"). option(QUERY_TYPE_OPT_KEY, QUERY_TYPE_INCREMENTAL_OPT_VAL). option(BEGIN_INSTANTTIME_OPT_KEY, beginTime). option(END_INSTANTTIME_OPT_KEY, endTime). load(basePath) tripsPointInTimeDF.createOrReplaceTempView("hudi_trips_point_in_time") spark.sql ```` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
