From 2dbf45bc103db8dc780b2e3441c74f51f40e6555 Mon Sep 17 00:00:00 2001 From: Alan Cai Date: Fri, 13 Dec 2024 15:07:39 -0800 Subject: [PATCH] Add comment to ExprWindow.Over --- partiql-ast/src/main/java/org/partiql/ast/expr/ExprWindow.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/partiql-ast/src/main/java/org/partiql/ast/expr/ExprWindow.java b/partiql-ast/src/main/java/org/partiql/ast/expr/ExprWindow.java index a39f11c2d..f84067077 100644 --- a/partiql-ast/src/main/java/org/partiql/ast/expr/ExprWindow.java +++ b/partiql-ast/src/main/java/org/partiql/ast/expr/ExprWindow.java @@ -66,9 +66,11 @@ public R accept(@NotNull AstVisitor visitor, C ctx) { @lombok.Builder(builderClassName = "Builder") @EqualsAndHashCode(callSuper = false) public static class Over extends AstNode { + // Empty list represents no `PARTITION BY` specifications @NotNull public final List partitions; + // Empty list represents no `ORDER BY` specifications @NotNull public final List sorts;