Skip to content

Commit

Permalink
Mark RunningWindowFunction as supported in Qual tool (#1465)
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>

Fix #1460

`RunningWindowFunction` should be marked as supported by the
qualification tool.
  • Loading branch information
amahussein authored Dec 16, 2024
1 parent a1f866f commit 9564d0b
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-dataproc-gke-l4.csv
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-dataproc-gke-t4.csv
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-dataproc-l4.csv
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-dataproc-t4.csv
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-emr-a10.csv
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-emr-a10G.csv
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-emr-t4.csv
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/operatorsScore-onprem-a100.csv
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,4 @@ DecimalSum,1.5
MaxBy,1.5
MinBy,1.5
ArrayJoin,1.5
RunningWindowFunctionExec,1.5
1 change: 1 addition & 0 deletions core/src/main/resources/supportedExecs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ WriteFilesExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,S,S,PS,PS,PS,S,S,S
CustomShuffleReaderExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS,NS,NS
WindowGroupLimitExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,NS,NS,PS,PS,PS,NS,NS,NS
MapInArrowExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NS,PS,NS,PS,NS,NS,NS
RunningWindowFunctionExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,NS,NS,PS,PS,PS,NS,NS,NS
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ class GenericExecParser(
ExecInfo(
node,
sqlID,
node.name,
// Remove trailing spaces from node name if any
node.name.trim,
"",
speedupFactor,
duration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ object SQLPlanParser extends Logging {
case "AggregateInPandas" | "ArrowEvalPython" | "AQEShuffleRead" | "CartesianProduct"
| "Coalesce" | "CollectLimit" | "CustomShuffleReader" | "FlatMapGroupsInPandas"
| "GlobalLimit" | "LocalLimit" | "InMemoryTableScan" | "MapInPandas"
| "PythonMapInArrow" | "MapInArrow" | "Range" | "Sample" | "Union"
| "WindowInPandas" =>
| "PythonMapInArrow" | "MapInArrow" | "Range" | "RunningWindowFunction"
| "Sample" | "Union" | "WindowInPandas" =>
GenericExecParser(node, checker, sqlID, app = Some(app)).parse
case "BatchScan" =>
BatchScanExecParser(node, checker, sqlID, app).parse
Expand Down

0 comments on commit 9564d0b

Please sign in to comment.