srowen commented on a change in pull request #27079: [SPARK-30410][SQL]
Calculating size of table with large number of partitions causes flooding logs
URL: https://github.com/apache/spark/pull/27079#discussion_r363097410
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/CommandUtils.scala
##########
@@ -75,6 +77,10 @@ object CommandUtils extends Logging {
}.sum
}
}
+ val partInfo = if (partitions.nonEmpty) s" with ${partitions.length}
partitions" else ""
+ logInfo(s"It took ${(System.nanoTime() - startTime) / (1000 * 1000)} ms to
calculate" +
Review comment:
I don't feel strongly about it, just sounded simpler to me to keep the
current structure
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]