Skip to content

Commit

Permalink
[VL] Minor cleanups (#8824)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer authored Feb 25, 2025
1 parent 321a602 commit d6d07a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ object ConventionFunc {
// Components should override Backend's convention function. Hence, reversed injection order
// is applied.
val overrides = Component.sorted().reverse.map(_.convFuncOverride())
if (overrides.isEmpty) {
return Override.Empty
}
new Override {
override val rowTypeOf: PartialFunction[SparkPlan, Convention.RowType] = {
overrides.map(_.rowTypeOf).reduce((l, r) => l.orElse(r))
Expand Down

0 comments on commit d6d07a2

Please sign in to comment.