@@ -186,25 +186,25 @@ Aggregations
186
186
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
187
187
| Function name | Arity | Input types | Output type | Options class |
188
188
+==========================+============+====================+=======================+============================================+
189
- | all | Unary | Boolean | Scalar Boolean | :struct: `ScalarAggregateOptions ` |
189
+ | all | Unary | Boolean | Scalar Boolean (1) | :struct: `ScalarAggregateOptions ` |
190
190
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
191
- | any | Unary | Boolean | Scalar Boolean | :struct: `ScalarAggregateOptions ` |
191
+ | any | Unary | Boolean | Scalar Boolean (1) | :struct: `ScalarAggregateOptions ` |
192
192
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
193
193
| count | Unary | Any | Scalar Int64 | :struct: `ScalarAggregateOptions ` |
194
194
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
195
195
| index | Unary | Any | Scalar Int64 | :struct: `IndexOptions ` |
196
196
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
197
197
| mean | Unary | Numeric | Scalar Float64 | :struct: `ScalarAggregateOptions ` |
198
198
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
199
- | min_max | Unary | Numeric | Scalar Struct (1 ) | :struct: `ScalarAggregateOptions ` |
199
+ | min_max | Unary | Numeric | Scalar Struct (2 ) | :struct: `ScalarAggregateOptions ` |
200
200
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
201
- | mode | Unary | Numeric | Struct (2 ) | :struct: `ModeOptions ` |
201
+ | mode | Unary | Numeric | Struct (3 ) | :struct: `ModeOptions ` |
202
202
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
203
- | quantile | Unary | Numeric | Scalar Numeric (3 ) | :struct: `QuantileOptions ` |
203
+ | quantile | Unary | Numeric | Scalar Numeric (4 ) | :struct: `QuantileOptions ` |
204
204
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
205
205
| stddev | Unary | Numeric | Scalar Float64 | :struct: `VarianceOptions ` |
206
206
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
207
- | sum | Unary | Numeric | Scalar Numeric (4 ) | :struct: `ScalarAggregateOptions ` |
207
+ | sum | Unary | Numeric | Scalar Numeric (5 ) | :struct: `ScalarAggregateOptions ` |
208
208
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
209
209
| tdigest | Unary | Numeric | Scalar Float64 | :struct: `TDigestOptions ` |
210
210
+--------------------------+------------+--------------------+-----------------------+--------------------------------------------+
@@ -213,18 +213,23 @@ Aggregations
213
213
214
214
Notes:
215
215
216
- * \( 1) Output is a ``{"min": input type, "max": input type} `` Struct.
216
+ * \( 1) If null values are taken into account by setting ScalarAggregateOptions
217
+ parameter skip_nulls = false then `Kleene logic `_ logic is applied.
217
218
218
- * \( 2) Output is an array of ``{"mode": input type, "count": Int64} `` Struct.
219
+ * \( 2) Output is a ``{"min": input type, "max": input type} `` Struct.
220
+
221
+ * \( 3) Output is an array of ``{"mode": input type, "count": Int64} `` Struct.
219
222
It contains the *N * most common elements in the input, in descending
220
223
order, where *N * is given in :member: `ModeOptions::n `.
221
224
If two values have the same count, the smallest one comes first.
222
225
Note that the output can have less than *N * elements if the input has
223
226
less than *N * distinct values.
224
227
225
- * \( 3) Output is Float64 or input type, depending on QuantileOptions.
228
+ * \( 4) Output is Float64 or input type, depending on QuantileOptions.
229
+
230
+ * \( 5) Output is Int64, UInt64 or Float64, depending on the input type.
226
231
227
- * \( 4) Output is Int64, UInt64 or Float64, depending on the input type.
232
+ .. _ Kleene logic : https://en.wikipedia.org/wiki/Three-valued_logic#Kleene_and_Priest_logics
228
233
229
234
Element-wise ("scalar") functions
230
235
---------------------------------
0 commit comments