pramodbiligiri commented on code in PR #7864:
URL: https://github.com/apache/hudi/pull/7864#discussion_r1099736301


##########
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:
   Actually that part I'm not aware of. There is a database I have where this 
behaviour can be reproduced. I'll see if I can share that table after 
deanonymze or something.



-- 
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]

Reply via email to