You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/09/28 03:51:27 UTC
[GitHub] [spark] LuciferYang commented on a diff in pull request #38025: [MINOR][SQL] Skip warning if JOB_SUMMARY_LEVEL is set to NONE for ParquetWrite
LuciferYang commented on code in PR #38025:
URL: https://github.com/apache/spark/pull/38025#discussion_r981915685
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/parquet/ParquetWrite.scala:
##########
@@ -94,7 +94,7 @@ case class ParquetWrite(
conf.setEnum(ParquetOutputFormat.JOB_SUMMARY_LEVEL, JobSummaryLevel.NONE)
}
- if (ParquetOutputFormat.getJobSummaryLevel(conf) == JobSummaryLevel.NONE
+ if (ParquetOutputFormat.getJobSummaryLevel(conf) != JobSummaryLevel.NONE
Review Comment:
https://github.com/apache/spark/blob/e932e0ad289ad46f2cc21c225955fdacaeaf9d24/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala#L135-L141
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org