jonvex commented on code in PR #9276:
URL: https://github.com/apache/hudi/pull/9276#discussion_r1283684686
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -247,11 +247,23 @@ object DefaultSource {
Option(schema)
}
+
+
+
if (metaClient.getCommitsTimeline.filterCompletedInstants.countInstants()
== 0) {
new EmptyRelation(sqlContext, resolveSchema(metaClient, parameters,
Some(schema)))
} else if (isCdcQuery) {
CDCRelation.getCDCRelation(sqlContext, metaClient, parameters)
} else {
+ lazy val newHudiFileFormatUtils = if
(!parameters.getOrElse(LEGACY_HUDI_PARQUET_FILE_FORMAT.key,
+ LEGACY_HUDI_PARQUET_FILE_FORMAT.defaultValue).toBoolean && (globPaths
== null || globPaths.isEmpty)
+ && parameters.getOrElse(REALTIME_MERGE.key(),
REALTIME_MERGE.defaultValue())
+ .equalsIgnoreCase(REALTIME_PAYLOAD_COMBINE_OPT_VAL)) {
Review Comment:
Yes. I wasn't able to get it to work correctly before the code freeze
--
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]