vinothchandar 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_r301836561
##########
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:
should the `exists` variable above change instead? and we keep this line as
is?
----------------------------------------------------------------
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]
With regards,
Apache Git Services