You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/03/17 04:24:58 UTC

[GitHub] [hudi] n3nash commented on a change in pull request #2655: [HUDI-1615] Fixing null schema for delete operation in spark datasource

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



##########
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:
       +1  to handle this in TableSchemaResolver




----------------------------------------------------------------
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:
users@infra.apache.org