Skip to content

Commit

Permalink
Update GlutenPlan.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer authored Jul 11, 2024
1 parent b847673 commit 2cc18c9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 2cc18c9

Please sign in to comment.