pramodbiligiri commented on code in PR #7864:
URL: https://github.com/apache/hudi/pull/7864#discussion_r1105298405
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -241,7 +241,12 @@ object DefaultSource {
}
if (metaClient.getCommitsTimeline.filterCompletedInstants.countInstants()
== 0) {
- new EmptyRelation(sqlContext, resolveSchema(metaClient, parameters,
Some(schema)))
+ val structType = resolveSchema(metaClient, parameters, Some(schema))
Review Comment:
Issue has been noted as a valid bug in the JIRA:
https://issues.apache.org/jira/browse/HUDI-5688?focusedCommentId=17688209&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17688209
--
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]