Skip to content

Commit

Permalink
fix: correctly set nullability for aggregate grouping exprs
Browse files Browse the repository at this point in the history
  • Loading branch information
Blizzara committed Nov 21, 2024
1 parent 0ac7ccf commit c3c4415
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ToSubstraitRel extends AbstractLogicalPlanVisitor with Logging {
}
val groupOutputMap = actualGroupExprs.zipWithIndex.map {
case (e, i) =>
AttributeReference(s"group_col_$i", e.dataType)() -> e
AttributeReference(s"group_col_$i", e.dataType, nullable = e.nullable)() -> e
}
val groupOutput = groupOutputMap.map(_._1)

Expand Down

0 comments on commit c3c4415

Please sign in to comment.