Skip to content

Commit

Permalink
fix missing outputPartitioning in NativeParquetExec
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangli20 committed Nov 6, 2023
1 parent ab3fd07 commit ff0f436
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import org.blaze.protobuf.PhysicalExprNode
import org.blaze.protobuf.PhysicalPlanNode
import org.blaze.protobuf.ProjectionExecNode
import org.apache.spark.sql.blaze.NativeSupports
import org.apache.spark.sql.catalyst.plans.physical.Partitioning

abstract class NativeProjectBase(
projectList: Seq[NamedExpression],
Expand All @@ -58,6 +59,7 @@ abstract class NativeProjectBase(
.toSeq: _*)

override def output: Seq[Attribute] = projectList.map(_.toAttribute)
override def outputPartitioning: Partitioning = child.outputPartitioning

private def nativeProject = getNativeProjectBuilder(projectList, addTypeCast).buildPartial()

Expand Down

0 comments on commit ff0f436

Please sign in to comment.