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/05/05 04:11:41 UTC

[GitHub] [hudi] nsivabalan commented on a change in pull request #2903: [HUDI-1850] Fixing read of a empty table but with failed write

nsivabalan commented on a change in pull request #2903:
URL: https://github.com/apache/hudi/pull/2903#discussion_r626241869



##########
File path: hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/DefaultSource.scala
##########
@@ -105,7 +105,9 @@ class DefaultSource extends RelationProvider
     val tableType = metaClient.getTableType
     val queryType = parameters(QUERY_TYPE_OPT_KEY)
     log.info(s"Is bootstrapped table => $isBootstrappedTable, tableType is: $tableType")
-
+    val schemaUtil = new TableSchemaResolver(metaClient)

Review comment:
       I did think about it, but not easy. basically we need to fail the first write and then trigger a read. but all these need to happen at data source layer. and hence can't use test table.




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