Skip to content

Commit 3545703

Browse files
committed
Updates PlanTyper test to use new AVG typing rules
1 parent cfbc030 commit 3545703

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

partiql-planner/src/test/kotlin/org/partiql/planner/internal/typer/PlanTyperTestsPorted.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3317,8 +3317,8 @@ class PlanTyperTestsPorted {
33173317
"min_b" to StaticType.INT4.asNullable(),
33183318
"max_a" to StaticType.INT4.asNullable(),
33193319
"max_b" to StaticType.INT4.asNullable(),
3320-
"avg_a" to StaticType.INT4.asNullable(),
3321-
"avg_b" to StaticType.INT4.asNullable(),
3320+
"avg_a" to StaticType.DECIMAL.asNullable(),
3321+
"avg_b" to StaticType.DECIMAL.asNullable(),
33223322
),
33233323
contentClosed = true,
33243324
constraints = setOf(

0 commit comments

Comments
 (0)