duckdb 0.5.2-dev230.0 → 0.5.2-dev240.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 -4
- package/src/duckdb.hpp +3 -2
- package/src/parquet-amalgamation.cpp +32997 -32997
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -67182,10 +67182,7 @@ void PhysicalSet::GetData(ExecutionContext &context, DataChunk &chunk, GlobalSou
|
|
|
67182
67182
|
if (entry == config.extension_parameters.end()) {
|
|
67183
67183
|
// it is not!
|
|
67184
67184
|
// get a list of all options
|
|
67185
|
-
vector<string> potential_names;
|
|
67186
|
-
for (idx_t i = 0, option_count = DBConfig::GetOptionCount(); i < option_count; i++) {
|
|
67187
|
-
potential_names.emplace_back(DBConfig::GetOptionByIndex(i)->name);
|
|
67188
|
-
}
|
|
67185
|
+
vector<string> potential_names = DBConfig::GetOptionNames();
|
|
67189
67186
|
for (auto &entry : config.extension_parameters) {
|
|
67190
67187
|
potential_names.push_back(entry.first);
|
|
67191
67188
|
}
|
|
@@ -128748,6 +128745,14 @@ idx_t DBConfig::GetOptionCount() {
|
|
|
128748
128745
|
return count;
|
|
128749
128746
|
}
|
|
128750
128747
|
|
|
128748
|
+
vector<std::string> DBConfig::GetOptionNames() {
|
|
128749
|
+
vector<string> names;
|
|
128750
|
+
for (idx_t i = 0, option_count = DBConfig::GetOptionCount(); i < option_count; i++) {
|
|
128751
|
+
names.emplace_back(DBConfig::GetOptionByIndex(i)->name);
|
|
128752
|
+
}
|
|
128753
|
+
return names;
|
|
128754
|
+
}
|
|
128755
|
+
|
|
128751
128756
|
ConfigurationOption *DBConfig::GetOptionByIndex(idx_t target_index) {
|
|
128752
128757
|
for (idx_t index = 0; internal_options[index].name; index++) {
|
|
128753
128758
|
if (index == target_index) {
|
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.5.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "7639565c3"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev240"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -24267,6 +24267,7 @@ public:
|
|
|
24267
24267
|
DUCKDB_API static const DBConfig &GetConfig(const DatabaseInstance &db);
|
|
24268
24268
|
DUCKDB_API static vector<ConfigurationOption> GetOptions();
|
|
24269
24269
|
DUCKDB_API static idx_t GetOptionCount();
|
|
24270
|
+
DUCKDB_API static vector<string> GetOptionNames();
|
|
24270
24271
|
|
|
24271
24272
|
//! Fetch an option by index. Returns a pointer to the option, or nullptr if out of range
|
|
24272
24273
|
DUCKDB_API static ConfigurationOption *GetOptionByIndex(idx_t index);
|