duckdb 0.3.1-dev399.0 → 0.3.1-dev423.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 +14710 -14595
- package/src/duckdb.hpp +35 -32
package/src/duckdb.hpp
CHANGED
|
@@ -10,8 +10,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
10
10
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
|
-
#define DUCKDB_SOURCE_ID "
|
|
14
|
-
#define DUCKDB_VERSION "0.3.1-
|
|
13
|
+
#define DUCKDB_SOURCE_ID "46fb0e1b1"
|
|
14
|
+
#define DUCKDB_VERSION "0.3.1-dev423"
|
|
15
15
|
//===----------------------------------------------------------------------===//
|
|
16
16
|
// DuckDB
|
|
17
17
|
//
|
|
@@ -5449,6 +5449,36 @@ protected:
|
|
|
5449
5449
|
|
|
5450
5450
|
} // namespace duckdb
|
|
5451
5451
|
|
|
5452
|
+
//===----------------------------------------------------------------------===//
|
|
5453
|
+
// DuckDB
|
|
5454
|
+
//
|
|
5455
|
+
// duckdb/common/enums/compression_type.hpp
|
|
5456
|
+
//
|
|
5457
|
+
//
|
|
5458
|
+
//===----------------------------------------------------------------------===//
|
|
5459
|
+
|
|
5460
|
+
|
|
5461
|
+
|
|
5462
|
+
|
|
5463
|
+
|
|
5464
|
+
namespace duckdb {
|
|
5465
|
+
|
|
5466
|
+
enum class CompressionType : uint8_t {
|
|
5467
|
+
COMPRESSION_AUTO = 0,
|
|
5468
|
+
COMPRESSION_UNCOMPRESSED = 1,
|
|
5469
|
+
COMPRESSION_CONSTANT = 2,
|
|
5470
|
+
COMPRESSION_RLE = 3,
|
|
5471
|
+
COMPRESSION_DICTIONARY = 4,
|
|
5472
|
+
COMPRESSION_PFOR_DELTA = 5,
|
|
5473
|
+
COMPRESSION_BITPACKING = 6,
|
|
5474
|
+
COMPRESSION_FSST = 7
|
|
5475
|
+
};
|
|
5476
|
+
|
|
5477
|
+
CompressionType CompressionTypeFromString(const string &str);
|
|
5478
|
+
string CompressionTypeToString(CompressionType type);
|
|
5479
|
+
|
|
5480
|
+
} // namespace duckdb
|
|
5481
|
+
|
|
5452
5482
|
|
|
5453
5483
|
namespace duckdb {
|
|
5454
5484
|
|
|
@@ -5469,6 +5499,8 @@ public:
|
|
|
5469
5499
|
LogicalType type;
|
|
5470
5500
|
//! The default value of the column (if any)
|
|
5471
5501
|
unique_ptr<ParsedExpression> default_value;
|
|
5502
|
+
//! Compression Type used for this column
|
|
5503
|
+
CompressionType compression_type = CompressionType::COMPRESSION_AUTO;
|
|
5472
5504
|
|
|
5473
5505
|
public:
|
|
5474
5506
|
ColumnDefinition Copy() const;
|
|
@@ -9948,35 +9980,6 @@ namespace duckdb {
|
|
|
9948
9980
|
using std::set;
|
|
9949
9981
|
}
|
|
9950
9982
|
|
|
9951
|
-
//===----------------------------------------------------------------------===//
|
|
9952
|
-
// DuckDB
|
|
9953
|
-
//
|
|
9954
|
-
// duckdb/common/enums/compression_type.hpp
|
|
9955
|
-
//
|
|
9956
|
-
//
|
|
9957
|
-
//===----------------------------------------------------------------------===//
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
namespace duckdb {
|
|
9964
|
-
|
|
9965
|
-
enum class CompressionType : uint8_t {
|
|
9966
|
-
COMPRESSION_INVALID = 0,
|
|
9967
|
-
COMPRESSION_UNCOMPRESSED = 1,
|
|
9968
|
-
COMPRESSION_CONSTANT = 2,
|
|
9969
|
-
COMPRESSION_RLE = 3,
|
|
9970
|
-
COMPRESSION_DICTIONARY = 4,
|
|
9971
|
-
COMPRESSION_PFOR_DELTA = 5,
|
|
9972
|
-
COMPRESSION_BITPACKING = 6,
|
|
9973
|
-
COMPRESSION_FSST = 7
|
|
9974
|
-
};
|
|
9975
|
-
|
|
9976
|
-
CompressionType CompressionTypeFromString(const string &str);
|
|
9977
|
-
string CompressionTypeToString(CompressionType type);
|
|
9978
|
-
|
|
9979
|
-
} // namespace duckdb
|
|
9980
9983
|
|
|
9981
9984
|
//===----------------------------------------------------------------------===//
|
|
9982
9985
|
// DuckDB
|
|
@@ -10103,7 +10106,7 @@ public:
|
|
|
10103
10106
|
//! The set of disabled optimizers (default empty)
|
|
10104
10107
|
set<OptimizerType> disabled_optimizers;
|
|
10105
10108
|
//! Force a specific compression method to be used when checkpointing (if available)
|
|
10106
|
-
CompressionType force_compression = CompressionType::
|
|
10109
|
+
CompressionType force_compression = CompressionType::COMPRESSION_AUTO;
|
|
10107
10110
|
//! Debug flag that adds additional (unnecessary) free_list blocks to the storage
|
|
10108
10111
|
bool debug_many_free_list_blocks = false;
|
|
10109
10112
|
|