duckdb 0.4.1-dev5.0 → 0.4.1-dev54.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 +9990 -9607
- package/src/duckdb.hpp +18 -5
- package/src/parquet-amalgamation.cpp +20799 -20795
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.4.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "d4c18532b"
|
|
15
|
+
#define DUCKDB_VERSION "v0.4.1-dev54"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -401,6 +401,7 @@ DUCKDB_API void DuckDBAssertInternal(bool condition, const char *condition_name,
|
|
|
401
401
|
|
|
402
402
|
#endif
|
|
403
403
|
|
|
404
|
+
|
|
404
405
|
//===----------------------------------------------------------------------===//
|
|
405
406
|
// DuckDB
|
|
406
407
|
//
|
|
@@ -982,7 +983,7 @@ enum class LogicalTypeId : uint8_t {
|
|
|
982
983
|
|
|
983
984
|
HUGEINT = 50,
|
|
984
985
|
POINTER = 51,
|
|
985
|
-
HASH = 52,
|
|
986
|
+
// HASH = 52, // deprecated, uses UBIGINT instead
|
|
986
987
|
VALIDITY = 53,
|
|
987
988
|
UUID = 54,
|
|
988
989
|
|
|
@@ -1094,7 +1095,7 @@ public:
|
|
|
1094
1095
|
static constexpr const LogicalTypeId INTERVAL = LogicalTypeId::INTERVAL;
|
|
1095
1096
|
static constexpr const LogicalTypeId HUGEINT = LogicalTypeId::HUGEINT;
|
|
1096
1097
|
static constexpr const LogicalTypeId UUID = LogicalTypeId::UUID;
|
|
1097
|
-
static constexpr const LogicalTypeId HASH = LogicalTypeId::
|
|
1098
|
+
static constexpr const LogicalTypeId HASH = LogicalTypeId::UBIGINT;
|
|
1098
1099
|
static constexpr const LogicalTypeId POINTER = LogicalTypeId::POINTER;
|
|
1099
1100
|
static constexpr const LogicalTypeId TABLE = LogicalTypeId::TABLE;
|
|
1100
1101
|
static constexpr const LogicalTypeId INVALID = LogicalTypeId::INVALID;
|
|
@@ -10086,6 +10087,7 @@ private:
|
|
|
10086
10087
|
|
|
10087
10088
|
} // namespace duckdb
|
|
10088
10089
|
|
|
10090
|
+
|
|
10089
10091
|
namespace duckdb {
|
|
10090
10092
|
|
|
10091
10093
|
class ClientContext;
|
|
@@ -10124,6 +10126,7 @@ public:
|
|
|
10124
10126
|
};
|
|
10125
10127
|
|
|
10126
10128
|
} // namespace duckdb
|
|
10129
|
+
|
|
10127
10130
|
//===----------------------------------------------------------------------===//
|
|
10128
10131
|
// DuckDB
|
|
10129
10132
|
//
|
|
@@ -11264,6 +11267,7 @@ private:
|
|
|
11264
11267
|
|
|
11265
11268
|
} // namespace duckdb
|
|
11266
11269
|
|
|
11270
|
+
|
|
11267
11271
|
//===----------------------------------------------------------------------===//
|
|
11268
11272
|
// DuckDB
|
|
11269
11273
|
//
|
|
@@ -15358,6 +15362,7 @@ namespace duckdb {
|
|
|
15358
15362
|
using std::deque;
|
|
15359
15363
|
}
|
|
15360
15364
|
|
|
15365
|
+
|
|
15361
15366
|
//===----------------------------------------------------------------------===//
|
|
15362
15367
|
// DuckDB
|
|
15363
15368
|
//
|
|
@@ -17435,6 +17440,7 @@ private:
|
|
|
17435
17440
|
|
|
17436
17441
|
|
|
17437
17442
|
|
|
17443
|
+
|
|
17438
17444
|
//===----------------------------------------------------------------------===//
|
|
17439
17445
|
// DuckDB
|
|
17440
17446
|
//
|
|
@@ -17489,6 +17495,7 @@ private:
|
|
|
17489
17495
|
};
|
|
17490
17496
|
|
|
17491
17497
|
} // namespace duckdb
|
|
17498
|
+
|
|
17492
17499
|
//===----------------------------------------------------------------------===//
|
|
17493
17500
|
// DuckDB
|
|
17494
17501
|
//
|
|
@@ -17697,6 +17704,7 @@ public:
|
|
|
17697
17704
|
|
|
17698
17705
|
} // namespace duckdb
|
|
17699
17706
|
|
|
17707
|
+
|
|
17700
17708
|
namespace duckdb {
|
|
17701
17709
|
class Appender;
|
|
17702
17710
|
class Catalog;
|
|
@@ -18087,6 +18095,7 @@ protected:
|
|
|
18087
18095
|
|
|
18088
18096
|
|
|
18089
18097
|
|
|
18098
|
+
|
|
18090
18099
|
namespace duckdb {
|
|
18091
18100
|
|
|
18092
18101
|
class ChunkCollection;
|
|
@@ -18701,6 +18710,7 @@ public:
|
|
|
18701
18710
|
|
|
18702
18711
|
} // namespace duckdb
|
|
18703
18712
|
|
|
18713
|
+
|
|
18704
18714
|
namespace duckdb {
|
|
18705
18715
|
class StorageManager;
|
|
18706
18716
|
class Catalog;
|
|
@@ -18732,6 +18742,8 @@ public:
|
|
|
18732
18742
|
|
|
18733
18743
|
DUCKDB_API static DatabaseInstance &GetDatabase(ClientContext &context);
|
|
18734
18744
|
|
|
18745
|
+
DUCKDB_API const unordered_set<std::string> &LoadedExtensions();
|
|
18746
|
+
|
|
18735
18747
|
private:
|
|
18736
18748
|
void Initialize(const char *path, DBConfig *config);
|
|
18737
18749
|
|
|
@@ -18843,6 +18855,7 @@ ExternC const PfnDliHook __pfnDliFailureHook2 = duckdb_dllimport_delay_hook;
|
|
|
18843
18855
|
}
|
|
18844
18856
|
#endif
|
|
18845
18857
|
#endif
|
|
18858
|
+
|
|
18846
18859
|
//===----------------------------------------------------------------------===//
|
|
18847
18860
|
// DuckDB
|
|
18848
18861
|
//
|
|
@@ -22453,7 +22466,7 @@ protected:
|
|
|
22453
22466
|
//! Format is literals[0], specifiers[0], literals[1], ..., specifiers[n - 1], literals[n]
|
|
22454
22467
|
vector<string> literals;
|
|
22455
22468
|
//! The constant size that appears in the format string
|
|
22456
|
-
idx_t constant_size;
|
|
22469
|
+
idx_t constant_size = 0;
|
|
22457
22470
|
//! The max numeric width of the specifier (if it is parsed as a number), or -1 if it is not a number
|
|
22458
22471
|
vector<int> numeric_width;
|
|
22459
22472
|
|