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 2019/07/10 12:31:25 UTC

[GitHub] [incubator-hudi] hotienvu commented on a change in pull request #778: Fixed TableNotFoundException when write with structured streaming

hotienvu commented on a change in pull request #778: Fixed TableNotFoundException when write with structured streaming
URL: https://github.com/apache/incubator-hudi/pull/778#discussion_r302038924
 
 

 ##########
 File path: hoodie-spark/src/main/scala/com/uber/hoodie/HoodieSparkSqlWriter.scala
 ##########
 @@ -117,7 +117,7 @@ private[hoodie] object HoodieSparkSqlWriter {
     }
 
     // Create the dataset if not present (APPEND mode)
-    if (!exists) {
+    if (!fs.exists(new Path(basePath, HoodieTableMetaClient.METAFOLDER_NAME))) {
 
 Review comment:
   done

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


With regards,
Apache Git Services