From e7da71df4b56f18dfd356ec040d9a0bdf64961f5 Mon Sep 17 00:00:00 2001 From: Chris Nuernberger Date: Sat, 30 Sep 2023 08:10:09 -0600 Subject: [PATCH] Adding test for bugfix --- test/tech/v3/dataset_test.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/tech/v3/dataset_test.clj b/test/tech/v3/dataset_test.clj index d3cd0bb9..53dd0370 100644 --- a/test/tech/v3/dataset_test.clj +++ b/test/tech/v3/dataset_test.clj @@ -1716,6 +1716,12 @@ :b 2})) 3))) +(deftest group-by-column->index-issue-372 + (let [data (ds/group-by-column->indexes (ds/->dataset {:a (int-array (concat (range 10) (range 10) (range 10)))}) + :a)] + + (is (= 3 (count (get data (int 0))))))) + (comment (require '[criterium.core :as crit])