duckdb 0.3.3-dev513.0 → 0.3.3-dev528.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 +5 -5
- package/src/duckdb.hpp +4 -3
- package/src/parquet-amalgamation.cpp +19602 -19602
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -13657,7 +13657,7 @@ void FileSystem::RemoveDirectory(const string &directory) {
|
|
|
13657
13657
|
throw NotImplementedException("%s: RemoveDirectory is not implemented!", GetName());
|
|
13658
13658
|
}
|
|
13659
13659
|
|
|
13660
|
-
bool FileSystem::ListFiles(const string &directory, const std::function<void(string
|
|
13660
|
+
bool FileSystem::ListFiles(const string &directory, const std::function<void(const string &, bool)> &callback) {
|
|
13661
13661
|
throw NotImplementedException("%s: ListFiles is not implemented!", GetName());
|
|
13662
13662
|
}
|
|
13663
13663
|
|
|
@@ -15782,7 +15782,7 @@ public:
|
|
|
15782
15782
|
//! Recursively remove a directory and all files in it
|
|
15783
15783
|
void RemoveDirectory(const string &directory) override;
|
|
15784
15784
|
//! List files in a directory, invoking the callback method for each one with (filename, is_dir)
|
|
15785
|
-
bool ListFiles(const string &directory, const std::function<void(string
|
|
15785
|
+
bool ListFiles(const string &directory, const std::function<void(const string &, bool)> &callback) override;
|
|
15786
15786
|
//! Move a file from source path to the target, StorageManager relies on this being an atomic action for ACID
|
|
15787
15787
|
//! properties
|
|
15788
15788
|
void MoveFile(const string &source, const string &target) override;
|
|
@@ -16294,7 +16294,7 @@ void LocalFileSystem::RemoveFile(const string &filename) {
|
|
|
16294
16294
|
}
|
|
16295
16295
|
}
|
|
16296
16296
|
|
|
16297
|
-
bool LocalFileSystem::ListFiles(const string &directory, const std::function<void(string
|
|
16297
|
+
bool LocalFileSystem::ListFiles(const string &directory, const std::function<void(const string &, bool)> &callback) {
|
|
16298
16298
|
if (!DirectoryExists(directory)) {
|
|
16299
16299
|
return false;
|
|
16300
16300
|
}
|
|
@@ -16608,7 +16608,7 @@ void LocalFileSystem::RemoveFile(const string &filename) {
|
|
|
16608
16608
|
DeleteFileW(unicode_path.c_str());
|
|
16609
16609
|
}
|
|
16610
16610
|
|
|
16611
|
-
bool LocalFileSystem::ListFiles(const string &directory, const std::function<void(string
|
|
16611
|
+
bool LocalFileSystem::ListFiles(const string &directory, const std::function<void(const string &, bool)> &callback) {
|
|
16612
16612
|
string search_dir = JoinPath(directory, "*");
|
|
16613
16613
|
|
|
16614
16614
|
auto unicode_path = WindowsUtil::UTF8ToUnicode(search_dir.c_str());
|
|
@@ -45562,7 +45562,7 @@ public:
|
|
|
45562
45562
|
FindFileSystem(directory)->RemoveDirectory(directory);
|
|
45563
45563
|
}
|
|
45564
45564
|
|
|
45565
|
-
bool ListFiles(const string &directory, const std::function<void(string
|
|
45565
|
+
bool ListFiles(const string &directory, const std::function<void(const string &, bool)> &callback) override {
|
|
45566
45566
|
return FindFileSystem(directory)->ListFiles(directory, callback);
|
|
45567
45567
|
}
|
|
45568
45568
|
|
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.3.3-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "1d34cb43a"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.3-dev528"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -1924,7 +1924,8 @@ public:
|
|
|
1924
1924
|
//! Recursively remove a directory and all files in it
|
|
1925
1925
|
DUCKDB_API virtual void RemoveDirectory(const string &directory);
|
|
1926
1926
|
//! List files in a directory, invoking the callback method for each one with (filename, is_dir)
|
|
1927
|
-
DUCKDB_API virtual bool ListFiles(const string &directory,
|
|
1927
|
+
DUCKDB_API virtual bool ListFiles(const string &directory,
|
|
1928
|
+
const std::function<void(const string &, bool)> &callback);
|
|
1928
1929
|
//! Move a file from source path to the target, StorageManager relies on this being an atomic action for ACID
|
|
1929
1930
|
//! properties
|
|
1930
1931
|
DUCKDB_API virtual void MoveFile(const string &source, const string &target);
|