File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
{:paths [" src" " resources" " target/classes" ]
2
2
:deps {; ;org.clojure/clojure {:mvn/version "1.11.1"}
3
- cnuernber/dtype-next {:mvn/version " 10.115 " }
3
+ cnuernber/dtype-next {:mvn/version " 10.116-SNAPSHOT " }
4
4
techascent/tech.io {:mvn/version " 4.31"
5
5
:exclusions [org.apache.commons/commons-compress]}
6
6
org.apache.datasketches/datasketches-java {:mvn/version " 4.2.0" }
Original file line number Diff line number Diff line change 1755
1755
(is (= (range 5 )
1756
1756
(bitmap/->random-access (ds/missing subcol))))))
1757
1757
1758
+
1759
+ (deftest issue-413-reduction-on-instant-column
1760
+ (let [ds (ds/->dataset {:x (range 5 )
1761
+ :y (repeatedly 5 #(java.time.Instant/now ))})]
1762
+ (is (= 3 (count (into [] (take 3 ) (:y ds)))))))
1763
+
1758
1764
(comment
1759
1765
(require '[criterium.core :as crit])
1760
1766
(def data (vec (repeatedly 100000 (fn [] {:a (rand-int 20 ) :b (rand ) :c (rand )}))))
You can’t perform that action at this time.
0 commit comments