Comments (5)
I'm reading about
READING DB (PostgreSQL/MySQL) and Adding directly to Parquet
https://duckdb.org/2024/01/26/multi-database-support-in-duckdb.html
-- connect to the Postgres instance with the given parameters in read-only mode
ATTACH 'dbname=postgres user=postgres host=127.0.0.1' AS db (TYPE POSTGRES, READ_ONLY);
COPY ⟨table_name⟩ TO 's3://bucket/file.parquet';
The problem with this approach is that DuckDB doesn't have all the connectors we support
Example:
https://www.reddit.com/r/DuckDB/comments/1bp1977/connect_duckdb_with_snowflake_via_adbc/
from latitude.
For Parquet creation/reading this one looks the one that's best maintained
https://github.com/LibertyDSNP/parquetjs
from latitude.
For DuckDB this one is the official Typescript wrapper around the nodejs client
https://www.npmjs.com/package/duckdb-async
I see duckDB supports writing to parquet directly
https://duckdb.org/docs/data/parquet/overview#writing-to-parquet-files
Not sure if we can do this somehow and avoid using a parquetjs package
from latitude.
Questions:
- Once we've synced to parquet files, how do we tell customers to target this parquet file from their queries?
- How are we gonna show the metadata regarding syncs? Does this mean we are gonna have to do a UI for a product no one is using yet?
- Is this gonna be available in the OSS product? If so, how? We need background jobs which means OSS Latitude becomes a multi-process application that would need probably a docker compose workflow in order to work out of the box in local
- Could we maybe go for an all-frontend approach? where users copy their data into a local duckdb file through some function that we provide, and they can target their queries there
from latitude.
This project could be interesting for connecting to sources that support ODBC connections like Snowflake https://github.com/rupurt/odbc-scanner-duckdb-extension
from latitude.
Related Issues (20)
- React component library HOT 1
- Testing suite HOT 1
- Project does not compile after any change is done HOT 9
- Integrate with dbt semantic layer HOT 2
- Concat params in SQL HOT 3
- TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object HOT 3
- Improve error logs HOT 1
- Options to scale Latitude Cloud deployments HOT 1
- Setting secrets in Latitude Cloud HOT 1
- Query file not found || Connector not installed HOT 9
- E2E tests for apps/server HOT 1
- Changing the value of an input from React does not update the parameter in an embed HOT 2
- Visualizations - Make dimensions more flexible instead of fixed px HOT 2
- Queries data cache is not working properly HOT 8
- Browser cache is not handled correctly HOT 1
- API REST source type HOT 1
- Hot-reload issue in wsl HOT 3
- [Question] API contract documentation? HOT 3
- Remove mutual version dependency between app and CLI
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 latitude.