duckdb 0.3.2-dev772.0 → 0.3.2-dev788.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 +35 -15
- package/src/duckdb.hpp +11 -3
- package/src/parquet-amalgamation.cpp +34854 -34749
- package/src/parquet-amalgamation.hpp +3 -2
|
@@ -7586,20 +7586,21 @@ class ColumnWriter {
|
|
|
7586
7586
|
static constexpr const idx_t MAX_UNCOMPRESSED_PAGE_SIZE = 100000000;
|
|
7587
7587
|
|
|
7588
7588
|
public:
|
|
7589
|
-
ColumnWriter(ParquetWriter &writer, idx_t schema_idx, idx_t max_repeat, idx_t max_define);
|
|
7589
|
+
ColumnWriter(ParquetWriter &writer, idx_t schema_idx, idx_t max_repeat, idx_t max_define, bool can_have_nulls);
|
|
7590
7590
|
virtual ~ColumnWriter();
|
|
7591
7591
|
|
|
7592
7592
|
ParquetWriter &writer;
|
|
7593
7593
|
idx_t schema_idx;
|
|
7594
7594
|
idx_t max_repeat;
|
|
7595
7595
|
idx_t max_define;
|
|
7596
|
+
bool can_have_nulls;
|
|
7596
7597
|
|
|
7597
7598
|
public:
|
|
7598
7599
|
//! Create the column writer for a specific type recursively
|
|
7599
7600
|
static unique_ptr<ColumnWriter> CreateWriterRecursive(vector<duckdb_parquet::format::SchemaElement> &schemas,
|
|
7600
7601
|
ParquetWriter &writer, const LogicalType &type,
|
|
7601
7602
|
const string &name, idx_t max_repeat = 0,
|
|
7602
|
-
idx_t max_define = 1);
|
|
7603
|
+
idx_t max_define = 1, bool can_have_nulls = true);
|
|
7603
7604
|
|
|
7604
7605
|
virtual unique_ptr<ColumnWriterState> InitializeWriteState(duckdb_parquet::format::RowGroup &row_group,
|
|
7605
7606
|
vector<string> schema_path);
|