vinothchandar commented on a change in pull request #2655:
URL: https://github.com/apache/hudi/pull/2655#discussion_r595355114



##########
File path: 
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala
##########
@@ -201,9 +200,12 @@ private[hudi] object HoodieSparkSqlWriter {
             throw new HoodieException(s"hoodie table at $basePath does not 
exist")
           }
 
+          val tableMetaClient = 
HoodieTableMetaClient.builder.setConf(sparkContext.hadoopConfiguration).setBasePath(path.get).build()

Review comment:
       does this handle the case where currently there are just deletes on 
active timeline and the schema resolver returns null for schema? we should just 
ensure code does not break. in that scenario. 




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to