duckdb 0.3.4-dev2.0 → 0.3.4-dev50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/duckdb.cpp +7 -7
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +20588 -20588
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -80015,6 +80015,9 @@ void HistogramFun::RegisterFunction(BuiltinFunctions &set) {
|
|
|
80015
80015
|
fun.AddFunction(GetHistogramFunction<int64_t>(LogicalType::TIMESTAMP_S));
|
|
80016
80016
|
fun.AddFunction(GetHistogramFunction<int64_t>(LogicalType::TIMESTAMP_MS));
|
|
80017
80017
|
fun.AddFunction(GetHistogramFunction<int64_t>(LogicalType::TIMESTAMP_NS));
|
|
80018
|
+
fun.AddFunction(GetHistogramFunction<int64_t>(LogicalType::TIME));
|
|
80019
|
+
fun.AddFunction(GetHistogramFunction<int64_t>(LogicalType::TIME_TZ));
|
|
80020
|
+
fun.AddFunction(GetHistogramFunction<int32_t>(LogicalType::DATE));
|
|
80018
80021
|
set.AddFunction(fun);
|
|
80019
80022
|
}
|
|
80020
80023
|
|
|
@@ -88274,10 +88277,7 @@ static void ListAggregateFunction(DataChunk &args, ExpressionState &state, Vecto
|
|
|
88274
88277
|
continue;
|
|
88275
88278
|
}
|
|
88276
88279
|
|
|
88277
|
-
|
|
88278
|
-
idx_t child_idx = 0;
|
|
88279
|
-
|
|
88280
|
-
while (child_idx < list_entry.length) {
|
|
88280
|
+
for (idx_t child_idx = 0; child_idx < list_entry.length; child_idx++) {
|
|
88281
88281
|
|
|
88282
88282
|
// states vector is full, update
|
|
88283
88283
|
if (states_idx == STANDARD_VECTOR_SIZE) {
|
|
@@ -88290,10 +88290,10 @@ static void ListAggregateFunction(DataChunk &args, ExpressionState &state, Vecto
|
|
|
88290
88290
|
states_idx = 0;
|
|
88291
88291
|
}
|
|
88292
88292
|
|
|
88293
|
-
|
|
88293
|
+
auto source_idx = child_data.sel->get_index(list_entry.offset + child_idx);
|
|
88294
|
+
sel_vector.set_index(states_idx, source_idx);
|
|
88294
88295
|
states_update[states_idx] = state_ptr;
|
|
88295
88296
|
states_idx++;
|
|
88296
|
-
child_idx++;
|
|
88297
88297
|
}
|
|
88298
88298
|
}
|
|
88299
88299
|
|
|
@@ -88330,7 +88330,7 @@ static unique_ptr<FunctionData> ListAggregateBind(ClientContext &context, Scalar
|
|
|
88330
88330
|
|
|
88331
88331
|
// get the function name
|
|
88332
88332
|
Value function_value = ExpressionExecutor::EvaluateScalar(*arguments[1]);
|
|
88333
|
-
auto function_name =
|
|
88333
|
+
auto function_name = function_value.ToString();
|
|
88334
88334
|
|
|
88335
88335
|
vector<LogicalType> types;
|
|
88336
88336
|
types.push_back(list_child_type);
|
package/src/duckdb.hpp
CHANGED
|
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
13
|
#define DUCKDB_AMALGAMATION_EXTENDED 1
|
|
14
|
-
#define DUCKDB_SOURCE_ID "
|
|
15
|
-
#define DUCKDB_VERSION "v0.3.4-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "2cd59950b"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.4-dev50"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|