duckdb 0.5.2-dev1320.0 → 0.5.2-dev1345.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 +1283 -377
- package/src/duckdb.hpp +10 -4
- package/src/parquet-amalgamation.cpp +37798 -37796
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 "6aa8bb2cff"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev1345"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -11426,7 +11426,7 @@ enum class ColumnDataAllocatorType : uint8_t {
|
|
|
11426
11426
|
//! Use a buffer manager to allocate large chunks of memory that vectors then use
|
|
11427
11427
|
BUFFER_MANAGER_ALLOCATOR,
|
|
11428
11428
|
//! Use an in-memory allocator, allocating data for every chunk
|
|
11429
|
-
//! This causes the column data collection to
|
|
11429
|
+
//! This causes the column data collection to allocate blocks that are not tied to a buffer manager
|
|
11430
11430
|
IN_MEMORY_ALLOCATOR
|
|
11431
11431
|
};
|
|
11432
11432
|
|
|
@@ -17933,9 +17933,13 @@ protected:
|
|
|
17933
17933
|
|
|
17934
17934
|
namespace duckdb {
|
|
17935
17935
|
|
|
17936
|
+
enum class OutputStream : uint8_t { STREAM_STDOUT = 1, STREAM_STDERR = 2 };
|
|
17937
|
+
|
|
17936
17938
|
//! Printer is a static class that allows printing to logs or stdout/stderr
|
|
17937
17939
|
class Printer {
|
|
17938
17940
|
public:
|
|
17941
|
+
//! Print the object to stderr
|
|
17942
|
+
DUCKDB_API static void Print(OutputStream stream, const string &str);
|
|
17939
17943
|
//! Print the object to stderr
|
|
17940
17944
|
DUCKDB_API static void Print(const string &str);
|
|
17941
17945
|
//! Prints Progress
|
|
@@ -17943,7 +17947,9 @@ public:
|
|
|
17943
17947
|
//! Prints an empty line when progress bar is done
|
|
17944
17948
|
DUCKDB_API static void FinishProgressBarPrint(const char *pbstr, int pbwidth);
|
|
17945
17949
|
//! Whether or not we are printing to a terminal
|
|
17946
|
-
DUCKDB_API static bool IsTerminal();
|
|
17950
|
+
DUCKDB_API static bool IsTerminal(OutputStream stream);
|
|
17951
|
+
//! The terminal width
|
|
17952
|
+
DUCKDB_API static idx_t TerminalWidth();
|
|
17947
17953
|
};
|
|
17948
17954
|
} // namespace duckdb
|
|
17949
17955
|
|