From ebb0ce8f92c83ba47ebe4fa8d4c26c945ad3714e Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Wed, 24 Jan 2024 15:03:33 +0800 Subject: [PATCH] fixup --- .../io/glutenproject/backendsapi/velox/MetricsApiImpl.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backends-velox/src/main/scala/io/glutenproject/backendsapi/velox/MetricsApiImpl.scala b/backends-velox/src/main/scala/io/glutenproject/backendsapi/velox/MetricsApiImpl.scala index 49432e8cc0a7..24f04b5d6106 100644 --- a/backends-velox/src/main/scala/io/glutenproject/backendsapi/velox/MetricsApiImpl.scala +++ b/backends-velox/src/main/scala/io/glutenproject/backendsapi/velox/MetricsApiImpl.scala @@ -356,7 +356,9 @@ class MetricsApiImpl extends MetricsApi with Logging { "numMemoryAllocations" -> SQLMetrics.createMetric( sparkContext, "number of memory allocations"), - "spilledBytes" -> SQLMetrics.createSizeMetric(sparkContext, "total bytes written for spilling"), + "spilledBytes" -> SQLMetrics.createSizeMetric( + sparkContext, + "total bytes written for spilling"), "spilledRows" -> SQLMetrics.createMetric(sparkContext, "total rows written for spilling"), "spilledPartitions" -> SQLMetrics.createMetric(sparkContext, "total spilled partitions"), "spilledFiles" -> SQLMetrics.createMetric(sparkContext, "total spilled files")