From 30b4dee68fe4830cf268fa8c4ed764be374793e6 Mon Sep 17 00:00:00 2001 From: Nikita Gupta Date: Fri, 22 Mar 2024 11:46:46 +0530 Subject: [PATCH] change case None -> None to case None -> null --- .../src/main/scala/filodb/downsampler/chunk/BatchExporter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark-jobs/src/main/scala/filodb/downsampler/chunk/BatchExporter.scala b/spark-jobs/src/main/scala/filodb/downsampler/chunk/BatchExporter.scala index 33ac655a9e..38b5d45032 100644 --- a/spark-jobs/src/main/scala/filodb/downsampler/chunk/BatchExporter.scala +++ b/spark-jobs/src/main/scala/filodb/downsampler/chunk/BatchExporter.scala @@ -162,7 +162,7 @@ case class BatchExporter(downsamplerSettings: DownsamplerSettings, userStartTime exportTableConfig.labelColumnMapping.foreach { pair => val result = exportData.labels.get(pair._1) match { case Some(labelValue) => labelValue - case None => None + case None => null } dataSeq.append(result) }