Skip to content

Commit d16cff1

Browse files
timsaucerclaude
andcommitted
Fix grouping() distinct parameter type for API consistency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9e62add commit d16cff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/datafusion/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3747,7 +3747,7 @@ def array_agg(
37473747

37483748
def grouping(
37493749
expression: Expr,
3750-
distinct: bool | None = None,
3750+
distinct: bool = False,
37513751
filter: Expr | None = None,
37523752
) -> Expr:
37533753
"""Returns 1 if the data is aggregated across the specified column, or 0 otherwise.

0 commit comments

Comments
 (0)