duckdb 0.4.1-dev456.0 → 0.4.1-dev482.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 +340 -195
- package/src/duckdb.hpp +102 -21
- package/src/parquet-amalgamation.cpp +37382 -37128
- package/src/parquet-amalgamation.hpp +15 -0
|
@@ -7901,6 +7901,21 @@ public:
|
|
|
7901
7901
|
bool can_have_nulls = true);
|
|
7902
7902
|
|
|
7903
7903
|
virtual unique_ptr<ColumnWriterState> InitializeWriteState(duckdb_parquet::format::RowGroup &row_group) = 0;
|
|
7904
|
+
|
|
7905
|
+
//! indicates whether the write need to analyse the data before preparing it
|
|
7906
|
+
virtual bool HasAnalyze() {
|
|
7907
|
+
return false;
|
|
7908
|
+
}
|
|
7909
|
+
|
|
7910
|
+
virtual void Analyze(ColumnWriterState &state, ColumnWriterState *parent, Vector &vector, idx_t count) {
|
|
7911
|
+
throw NotImplementedException("Writer does not need analysis");
|
|
7912
|
+
}
|
|
7913
|
+
|
|
7914
|
+
//! Called after all data has been passed to Analyze
|
|
7915
|
+
virtual void FinalizeAnalyze(ColumnWriterState &state) {
|
|
7916
|
+
throw NotImplementedException("Writer does not need analysis");
|
|
7917
|
+
}
|
|
7918
|
+
|
|
7904
7919
|
virtual void Prepare(ColumnWriterState &state, ColumnWriterState *parent, Vector &vector, idx_t count) = 0;
|
|
7905
7920
|
|
|
7906
7921
|
virtual void BeginWrite(ColumnWriterState &state) = 0;
|