We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e48d9c1 commit 77f1d87Copy full SHA for 77f1d87
1 file changed
dask_sql/physical/utils/groupby.py
@@ -23,6 +23,9 @@ def get_groupby_with_nulls_cols(
23
is_null_column = ~(group_column.isnull())
24
non_nan_group_column = group_column.fillna(0)
25
26
+ # split_out doesn't work if both columns have the same name
27
+ is_null_column.name = f"{is_null_column.name}_{new_temporary_column(df)}"
28
+
29
group_columns_and_nulls += [is_null_column, non_nan_group_column]
30
31
if not group_columns_and_nulls:
0 commit comments