vinothchandar commented on a change in pull request #2907:
URL: https://github.com/apache/hudi/pull/2907#discussion_r629976194
##########
File path:
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala
##########
@@ -566,27 +566,15 @@ private[hudi] object HoodieSparkSqlWriter {
log.info(s"Compaction Scheduled is $compactionInstant")
- val metaSyncSuccess = metaSync(spark, parameters,
tableInstantInfo.basePath, schema)
+ val metaSyncSuccess = metaSync(spark, parameters,
tableInstantInfo.basePath, schema)
log.info(s"Is Async Compaction Enabled ? $asyncCompactionEnabled")
if (!asyncCompactionEnabled) {
client.close()
}
(commitSuccess && metaSyncSuccess, compactionInstant)
} else {
- log.error(s"${tableInstantInfo.operation} failed with $errorCount errors
:")
Review comment:
not sure if we want to take this away from the users. In case of schema
mismatches, its kind of handy to see these errors from a spark-shell or driver
log?
--
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]