We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd70f3 commit 5d581a3Copy full SHA for 5d581a3
bigframes/core/blocks.py
@@ -3418,10 +3418,6 @@ def unpivot(
3418
array_value, type="cross"
3419
)
3420
3421
- if not labels_array.column_ids:
3422
- # A valid unpivot operation requires at least one row label to disambiguate the output rows.
3423
- raise ValueError("unpivot requires non-empty row_labels")
3424
-
3425
new_passthrough_cols = [column_mapping[col] for col in passthrough_columns]
3426
# Last column is offsets
3427
index_col_ids = [labels_mapping[col] for col in labels_array.column_ids[:-1]]
0 commit comments