Oscar 0a8f27f6f2
Allow empty list inputs in group-by and return empty record (#10730)
# Description

Changed `group-by` behavior to accept empty list as input and return an
empty record instead of throwing an error. I also replaced
`errors_if_input_empty()` test to reflect the new expected behavior.

See #10713 

# User-Facing Changes
`[] | group-by` or `[] | group-by a` now returns empty record


# Tests + Formatting
1 test for emptied table i.e. list

---------

Signed-off-by: Oscar <71343264+0scvr@users.noreply.github.com>
2023-10-19 12:20:52 +02:00
..
2022-11-22 16:58:11 -08:00
2023-08-24 07:08:58 -05:00
2023-10-05 18:43:58 +02:00
2023-09-26 18:49:28 +02:00
2023-07-14 15:20:35 +12:00
2022-12-22 00:33:26 +02:00
2023-10-10 03:31:15 +13:00
2023-09-30 09:08:06 -05:00
2023-10-13 13:45:36 -05:00
2023-09-16 21:49:10 +02:00
2023-03-15 18:54:55 +13:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-09-30 09:08:06 -05:00
2023-10-08 13:12:46 +02:00