duckdb 0.6.1-dev201.0 → 0.6.1-dev206.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 +41 -0
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +30318 -30318
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -137286,6 +137286,14 @@ struct MaximumMemorySetting {
|
|
|
137286
137286
|
static Value GetSetting(ClientContext &context);
|
|
137287
137287
|
};
|
|
137288
137288
|
|
|
137289
|
+
struct PasswordSetting {
|
|
137290
|
+
static constexpr const char *Name = "password";
|
|
137291
|
+
static constexpr const char *Description = "The password to use. Ignored for legacy compatibility.";
|
|
137292
|
+
static constexpr const LogicalTypeId InputType = LogicalTypeId::VARCHAR;
|
|
137293
|
+
static void SetGlobal(DatabaseInstance *db, DBConfig &config, const Value ¶meter);
|
|
137294
|
+
static Value GetSetting(ClientContext &context);
|
|
137295
|
+
};
|
|
137296
|
+
|
|
137289
137297
|
struct PerfectHashThresholdSetting {
|
|
137290
137298
|
static constexpr const char *Name = "perfect_ht_threshold";
|
|
137291
137299
|
static constexpr const char *Description = "Threshold in bytes for when to use a perfect hash table (default: 12)";
|
|
@@ -137381,6 +137389,14 @@ struct ThreadsSetting {
|
|
|
137381
137389
|
static Value GetSetting(ClientContext &context);
|
|
137382
137390
|
};
|
|
137383
137391
|
|
|
137392
|
+
struct UsernameSetting {
|
|
137393
|
+
static constexpr const char *Name = "username";
|
|
137394
|
+
static constexpr const char *Description = "The username to use. Ignored for legacy compatibility.";
|
|
137395
|
+
static constexpr const LogicalTypeId InputType = LogicalTypeId::VARCHAR;
|
|
137396
|
+
static void SetGlobal(DatabaseInstance *db, DBConfig &config, const Value ¶meter);
|
|
137397
|
+
static Value GetSetting(ClientContext &context);
|
|
137398
|
+
};
|
|
137399
|
+
|
|
137384
137400
|
} // namespace duckdb
|
|
137385
137401
|
|
|
137386
137402
|
|
|
@@ -137430,6 +137446,7 @@ static ConfigurationOption internal_options[] = {DUCKDB_GLOBAL(AccessModeSetting
|
|
|
137430
137446
|
DUCKDB_GLOBAL(MaximumMemorySetting),
|
|
137431
137447
|
DUCKDB_GLOBAL_ALIAS("memory_limit", MaximumMemorySetting),
|
|
137432
137448
|
DUCKDB_GLOBAL_ALIAS("null_order", DefaultNullOrderSetting),
|
|
137449
|
+
DUCKDB_GLOBAL(PasswordSetting),
|
|
137433
137450
|
DUCKDB_LOCAL(PerfectHashThresholdSetting),
|
|
137434
137451
|
DUCKDB_LOCAL(PreserveIdentifierCase),
|
|
137435
137452
|
DUCKDB_GLOBAL(PreserveInsertionOrder),
|
|
@@ -137442,6 +137459,8 @@ static ConfigurationOption internal_options[] = {DUCKDB_GLOBAL(AccessModeSetting
|
|
|
137442
137459
|
DUCKDB_LOCAL(SearchPathSetting),
|
|
137443
137460
|
DUCKDB_GLOBAL(TempDirectorySetting),
|
|
137444
137461
|
DUCKDB_GLOBAL(ThreadsSetting),
|
|
137462
|
+
DUCKDB_GLOBAL(UsernameSetting),
|
|
137463
|
+
DUCKDB_GLOBAL_ALIAS("user", UsernameSetting),
|
|
137445
137464
|
DUCKDB_GLOBAL_ALIAS("wal_autocheckpoint", CheckpointThresholdSetting),
|
|
137446
137465
|
DUCKDB_GLOBAL_ALIAS("worker_threads", ThreadsSetting),
|
|
137447
137466
|
FINAL_SETTING};
|
|
@@ -151905,6 +151924,17 @@ Value MaximumMemorySetting::GetSetting(ClientContext &context) {
|
|
|
151905
151924
|
return Value(StringUtil::BytesToHumanReadableString(config.options.maximum_memory));
|
|
151906
151925
|
}
|
|
151907
151926
|
|
|
151927
|
+
//===--------------------------------------------------------------------===//
|
|
151928
|
+
// Password Setting
|
|
151929
|
+
//===--------------------------------------------------------------------===//
|
|
151930
|
+
void PasswordSetting::SetGlobal(DatabaseInstance *db, DBConfig &config, const Value &input) {
|
|
151931
|
+
// nop
|
|
151932
|
+
}
|
|
151933
|
+
|
|
151934
|
+
Value PasswordSetting::GetSetting(ClientContext &context) {
|
|
151935
|
+
return Value();
|
|
151936
|
+
}
|
|
151937
|
+
|
|
151908
151938
|
//===--------------------------------------------------------------------===//
|
|
151909
151939
|
// Perfect Hash Threshold
|
|
151910
151940
|
//===--------------------------------------------------------------------===//
|
|
@@ -152071,6 +152101,17 @@ Value ThreadsSetting::GetSetting(ClientContext &context) {
|
|
|
152071
152101
|
return Value::BIGINT(config.options.maximum_threads);
|
|
152072
152102
|
}
|
|
152073
152103
|
|
|
152104
|
+
//===--------------------------------------------------------------------===//
|
|
152105
|
+
// Username Setting
|
|
152106
|
+
//===--------------------------------------------------------------------===//
|
|
152107
|
+
void UsernameSetting::SetGlobal(DatabaseInstance *db, DBConfig &config, const Value &input) {
|
|
152108
|
+
// nop
|
|
152109
|
+
}
|
|
152110
|
+
|
|
152111
|
+
Value UsernameSetting::GetSetting(ClientContext &context) {
|
|
152112
|
+
return Value();
|
|
152113
|
+
}
|
|
152114
|
+
|
|
152074
152115
|
} // namespace duckdb
|
|
152075
152116
|
|
|
152076
152117
|
|
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.6.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "1e443c4619"
|
|
15
|
+
#define DUCKDB_VERSION "v0.6.1-dev206"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|