hudi-bot opened a new issue, #14981: URL: https://github.com/apache/hudi/issues/14981
when there is no valid commits found between begin time and end time, hudi may throw an exception rather than silently returning empty rows. Ref issue: [https://github.com/apache/hudi/issues/4340] ## JIRA info - Link: https://issues.apache.org/jira/browse/HUDI-3137 - Type: Task --- ## Comments 02/Jan/22 22:38;shivnarayan;with COW, I don't see any issues. {code:java} val tripsIncrementalDF = spark.read.format("hudi"). | | option(QUERY_TYPE_OPT_KEY, QUERY_TYPE_INCREMENTAL_OPT_VAL). | | option(BEGIN_INSTANTTIME_OPT_KEY, "20211230071507597"). | | option(END_INSTANTTIME_OPT_KEY, "20211230071507600"). | load(basePath) 22/01/02 17:38:00 WARN HoodieBackedTableMetadata: Metadata table was not found at path file:/tmp/hudi_trips_cow/.hoodie/metadata tripsIncrementalDF: org.apache.spark.sql.DataFrame = [_hoodie_commit_time: string, _hoodie_commit_seqno: string ... 13 more fields] scala> tripsIncrementalDF.createOrReplaceTempView("hudi_tbl1") scala> spark.sql("select `_hoodie_commit_time`, fare, begin_lon, begin_lat, ts from hudi_tbl1 ").show() +-------------------+----+---------+---------+---+ |_hoodie_commit_time|fare|begin_lon|begin_lat| ts| +-------------------+----+---------+---------+---+ +-------------------+----+---------+---------+---+ {code};;; -- 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]
