duckdb 0.3.2-dev1309.0 → 0.3.2-dev1312.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 +9 -7
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +35401 -35401
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -80656,17 +80656,11 @@ static void ArraySliceFunction(DataChunk &args, ExpressionState &state, Vector &
|
|
|
80656
80656
|
D_ASSERT(args.data.size() == 3);
|
|
80657
80657
|
auto count = args.size();
|
|
80658
80658
|
|
|
80659
|
-
result.SetVectorType(VectorType::CONSTANT_VECTOR);
|
|
80660
|
-
for (idx_t i = 0; i < args.ColumnCount(); i++) {
|
|
80661
|
-
if (args.data[i].GetVectorType() != VectorType::CONSTANT_VECTOR) {
|
|
80662
|
-
result.SetVectorType(VectorType::FLAT_VECTOR);
|
|
80663
|
-
}
|
|
80664
|
-
}
|
|
80665
|
-
|
|
80666
80659
|
Vector &s = args.data[0];
|
|
80667
80660
|
Vector &b = args.data[1];
|
|
80668
80661
|
Vector &e = args.data[2];
|
|
80669
80662
|
|
|
80663
|
+
s.Normalify(count);
|
|
80670
80664
|
switch (result.GetType().id()) {
|
|
80671
80665
|
case LogicalTypeId::LIST:
|
|
80672
80666
|
// Share the value dictionary as we are just going to slice it
|
|
@@ -80679,6 +80673,14 @@ static void ArraySliceFunction(DataChunk &args, ExpressionState &state, Vector &
|
|
|
80679
80673
|
default:
|
|
80680
80674
|
throw NotImplementedException("Specifier type not implemented");
|
|
80681
80675
|
}
|
|
80676
|
+
|
|
80677
|
+
result.SetVectorType(VectorType::CONSTANT_VECTOR);
|
|
80678
|
+
for (idx_t i = 0; i < args.ColumnCount(); i++) {
|
|
80679
|
+
if (args.data[i].GetVectorType() != VectorType::CONSTANT_VECTOR) {
|
|
80680
|
+
result.SetVectorType(VectorType::FLAT_VECTOR);
|
|
80681
|
+
break;
|
|
80682
|
+
}
|
|
80683
|
+
}
|
|
80682
80684
|
}
|
|
80683
80685
|
|
|
80684
80686
|
static unique_ptr<FunctionData> ArraySliceBind(ClientContext &context, ScalarFunction &bound_function,
|
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.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "ab13af6cf"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.2-dev1312"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|