diff --git a/tests/test_core.py b/tests/test_core.py index cef9ad8a..4ead7bfb 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1997,3 +1997,11 @@ def test_agg_dtypes(func, engine): ) expected = _get_array_func(func)(counts, dtype="uint8") assert actual.dtype == np.uint8 == expected.dtype + + +def test_blockwise_avoid_rechunk(): + array = dask.array.zeros((6,), chunks=(2, 4), dtype=np.int64) + by = np.array(["1", "1", "0", "", "0", ""], dtype="