Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion external/duckdb
Submodule duckdb updated 306 files
2 changes: 1 addition & 1 deletion src/duckdb_py/pyconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void DuckDBPyConnection::UnregisterFilesystem(const py::str &name) {
auto &database = con.GetDatabase();
auto &fs = database.GetFileSystem();

fs.UnregisterSubSystem(name);
fs.ExtractSubSystem(name);
}

void DuckDBPyConnection::RegisterFilesystem(AbstractFileSystem filesystem) {
Expand Down
5 changes: 2 additions & 3 deletions src/duckdb_py/python_replacement_scan.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "duckdb_python/python_replacement_scan.hpp"

#include "duckdb/main/db_instance_cache.hpp"

#include "duckdb_python/pybind11/pybind_wrapper.hpp"
#include "duckdb/main/client_properties.hpp"
#include "duckdb_python/numpy/numpy_type.hpp"
Expand All @@ -14,6 +12,7 @@
#include "duckdb_python/pandas/pandas_scan.hpp"
#include "duckdb/parser/tableref/subqueryref.hpp"
#include "duckdb_python/pyrelation.hpp"
#include <duckdb/main/settings.hpp>

namespace duckdb {

Expand Down Expand Up @@ -299,7 +298,7 @@ unique_ptr<TableRef> PythonReplacementScan::Replace(ClientContext &context, Repl
optional_ptr<ReplacementScanData> data) {
auto &table_name = input.table_name;
auto &config = DBConfig::GetConfig(context);
if (!config.options.enable_external_access) {
if (!Settings::Get<EnableExternalAccessSetting>(config)) {
return nullptr;
}

Expand Down
Loading