From 2cc18c9606a1b1676f8b5b571806ced3f473eff1 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Thu, 11 Jul 2024 23:11:39 +0800 Subject: [PATCH] Update GlutenPlan.scala --- .../main/scala/org/apache/gluten/extension/GlutenPlan.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gluten-core/src/main/scala/org/apache/gluten/extension/GlutenPlan.scala b/gluten-core/src/main/scala/org/apache/gluten/extension/GlutenPlan.scala index c481fa7d5f5e..0c70e1ea7a7b 100644 --- a/gluten-core/src/main/scala/org/apache/gluten/extension/GlutenPlan.scala +++ b/gluten-core/src/main/scala/org/apache/gluten/extension/GlutenPlan.scala @@ -67,7 +67,8 @@ trait GlutenPlan extends SparkPlan with Convention.KnownBatchType with LogLevelU val schemaVaidationResult = BackendsApiManager.getValidatorApiInstance .doSchemaValidate(schema) .map { - reason => ValidationResult.failed(s"Found schema check failure for $schema, due to: $reason") + reason => + ValidationResult.failed(s"Found schema check failure for $schema, due to: $reason") } .getOrElse(ValidationResult.succeeded) if (!schemaVaidationResult.ok()) {