Skip to content

Commit

Permalink
Support aggregation on NullType in RunningWindowExec (#2722)
Browse files Browse the repository at this point in the history
Signed-off-by: Mithun RK <mythrocks@gmail.com>
  • Loading branch information
mythrocks authored Jun 17, 2021
1 parent 24a9e50 commit e378d49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Spark301dbShims extends Spark301Shims {
"Databricks-specific window function exec, for \"running\" windows, " +
"i.e. (UNBOUNDED PRECEDING TO CURRENT ROW)",
ExecChecks(
TypeSig.commonCudfTypes + TypeSig.DECIMAL +
TypeSig.commonCudfTypes + TypeSig.DECIMAL + TypeSig.Null +
TypeSig.STRUCT.nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL) +
TypeSig.ARRAY.nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL + TypeSig.STRUCT
+ TypeSig.ARRAY),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class Spark311dbShims extends Spark311Shims {
"Databricks-specific window function exec, for \"running\" windows, " +
"i.e. (UNBOUNDED PRECEDING TO CURRENT ROW)",
ExecChecks(
TypeSig.commonCudfTypes + TypeSig.DECIMAL +
TypeSig.commonCudfTypes + TypeSig.DECIMAL + TypeSig.NULL +
TypeSig.STRUCT.nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL) +
TypeSig.ARRAY.nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL + TypeSig.STRUCT
+ TypeSig.ARRAY),
Expand Down

0 comments on commit e378d49

Please sign in to comment.