Comments (5)
I am still working on it.
from duckdb_fdw.
Hello,
I tried myaniu's solution, but it doesn't work for me.
I can load the extension and create server but failed when I try to read from duckdb file with "unable to open database file":
db1=# create extension duckdb_fdw;
CREATE EXTENSION
db1=# \dx
List of installed extensions
Name | Version | Schema | Description
------------+---------+------------+------------------------------
duckdb_fdw | 1.1 | public | DuckDB Foreign Data Wrapper
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(2 rows)
db1=# create server duckdb_srv foreign data wrapper duckdb_fdw options (database '/tmp/db1.duckdb', read_only 'true');
CREATE SERVER
db1=#
db1=# import foreign schema public from server duckdb_srv into public;
ERROR: SQL error during prepare: unable to open database file SELECT name FROM sqlite_master WHERE type in('table', 'view') AND name NOT LIKE 'sqlite_%'
I also tried the myaniu's dockfile on issue thread "duckdb_fdw.so: undefined symbol: sqlite3_limit", but failed.
Thank you
from duckdb_fdw.
fixed,
from DuckDB 0.6, sqlite3_api_wrapper has an extra include, so I have to include it too.
#include "duckdb_shell_wrapper.h"
from duckdb_fdw.
btw,please refer this to simplify the job.
https://github.com/alitrack/duckdb_fdw_docker
from duckdb_fdw.
It works ok. Thank you
from duckdb_fdw.
Related Issues (20)
- array_agg is performed by PostgreSQL not by duckdb HOT 5
- Support postgresql 16 HOT 2
- Undefined symbol linking DuckDB 0.9.2 HOT 4
- compile error for PostgreSQL 14 HOT 1
- IMPORT FOREIGN SCHEMA fails with "Ambiguous reference to catalog or schema"
- Create Github release for latest version or git tag versions HOT 1
- support UUID type HOT 1
- create extension error on PG 14 HOT 2
- ERROR on PolarDB 11.9 HOT 2
- compile duckdb_fdw error use libduckdb 0.10.0 HOT 2
- could you add support to greenplum 6? HOT 1
- concurrent read&write HOT 2
- failed to open sqlite db error HOT 2
- [question] Correct way to integrate with external database in remote storage (GCS) HOT 2
- no output and no errors HOT 2
- cannot find -lduckdb HOT 2
- Does duckdb v0.10.2 is supported? HOT 1
- Duckdb_fdw how to directly read the data of the table in postgresql for data analysis, please give a specific implementation example, thank you HOT 1
- Runtime crash with libduckdb 1.0.0 HOT 1
- Can't trunk install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb_fdw.