Skip to content

Commit e4a101f

Browse files
committed
Fix format.
1 parent 7914505 commit e4a101f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/stratum/query.clj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@
454454
;; Projection Pushdown (Phase 3C)
455455
;; ============================================================================
456456

457-
458457
(defn- materialize-column
459458
"Ensure a column has array :data, materializing from index if needed.
460459
Uses direct single-copy path (idx-materialize-to-array) to avoid
@@ -707,7 +706,6 @@
707706
;; Return (fn [^long length] -> long[]) that closes over the data
708707
(fn [^long length] ^longs (compiled-fn col-data-arr length)))))
709708

710-
711709
;; ============================================================================
712710
;; String Predicate Materialization
713711
;; ============================================================================
@@ -1726,7 +1724,6 @@
17261724
(double (aget ^longs col i))
17271725
(aget ^doubles col i)))
17281726

1729-
17301727
;; ============================================================================
17311728
;; Scalar Fallback Execution
17321729
;; ============================================================================
@@ -1910,7 +1907,6 @@
19101907
aggs-ok? (every? #(supported-agg-ops (:op %)) aggs)]
19111908
(and group-cols-ok? aggs-ok?)))
19121909

1913-
19141910
(defn- ensure-longs
19151911
"Get a column's data as long[], converting double[] if needed."
19161912
^longs [col-data ^long length]
@@ -2559,7 +2555,6 @@
25592555
(- (* nd syy) (* sy sy))))]
25602556
(if (zero? denom) Double/NaN (/ num denom))))
25612557

2562-
25632558
(defn- var-acc-slots
25642559
"Number of accumulator slots for an agg type in the variable-width format."
25652560
^long [op]
@@ -2585,7 +2580,7 @@
25852580
:variance (compute-variance (aget accs off) (aget accs (+ off 1)) (long (aget accs (+ off 2))))
25862581
:stddev (Math/sqrt (compute-variance (aget accs off) (aget accs (+ off 1)) (long (aget accs (+ off 2)))))
25872582
:corr (compute-correlation (aget accs off) (aget accs (+ off 1)) (aget accs (+ off 2))
2588-
(aget accs (+ off 3)) (aget accs (+ off 4)) (long (aget accs (+ off 5))))
2583+
(aget accs (+ off 3)) (aget accs (+ off 4)) (long (aget accs (+ off 5))))
25892584
:count (long (aget accs (+ off (dec (var-acc-slots op)))))
25902585
:avg (let [sum (aget accs off)
25912586
cnt (long (aget accs (+ off 1)))]
@@ -3311,7 +3306,6 @@
33113306
:count-distinct (int ColumnOps/AGG_COUNT)
33123307
(int ColumnOps/AGG_SUM)))
33133308

3314-
33153309
(defn- prepare-group-key-arrays
33163310
"Prepare group key columns, compute normalization and strides.
33173311
Returns {:group-arrays :group-muls :group-maxes :group-dicts :group-offsets :max-key :use-dense? :n-group}."
@@ -4330,7 +4324,6 @@
43304324
(aset dirs i (not= (second (nth order-by i)) :desc)))
43314325
(into-array Object [oks dirs])))
43324326

4333-
43344327
(defn- frame-has-numeric-bounds?
43354328
"Check if a frame has numeric ROWS bounds (not just unbounded/current)."
43364329
[frame]

0 commit comments

Comments
 (0)