Comments (4)
@ghalimi first of all this is a great initiative!!! Thank you for coordinating 😄
You may or may not be aware, but duckdb has a substrait extension: https://duckdb.org/docs/extensions/substrait
Demo repo (disclaimer: I haven't ever looked at this before): https://github.com/duckdblabs/duckdb-substrait-demo
install substrait;
load substrait;
call <some substrait>;
I'm not exactly sure what your idea is with the issue; so please feel free to call me out if I'm going in the wrong direction! I could see a future where puffin might not only receive sql but also a substrait blob / possibly other things that can turn into substrait. In such cases duckdb might do the heavy lifting to actually use this substrait.
from puffin.
@jpmmcneill Thanks for the kind words, much appreciated.
No, I did not realize that DuckDB had this extension, this is great! I think you're onto something here, but you'll have to bear with me. I'm really new at that game, and I have pretty much everything to learn when it comes to query planners. I think that I understand the main concepts, but I've never built one, so I'm on a really steep learning curve.
I am operating with some basic intuitions:
- DuckDB's own non-distributed query planner can be used to help in the generation of distributed query plans.
- A distributed query planner must deal with some metrics that are different from the ones used by a non-distributed one.
- PuffinDB's distributed query planner should be outside of DuckDB, ideally in userland.
The last point is really important: we want to foster innovation, and if new query planning techniques must follow a traditional software development process to be implemented, tested, and deployed, things are going to move really slowly. Instead, I'd like anyone to be able to optimize the query planner, from the outside. I don't yet know how to go about this, but I have the intuition that it could lead to some really interesting results.
from puffin.
We should probably consider Apache Calcite as well.
from puffin.
Closing this issue and replacing it with a more precise one: #7
from puffin.
Related Issues (10)
- How query logs should be queued for batch INSERT INTO? HOT 3
- How should values of DuckDB's HUGEINT be cast to an Iceberg type? HOT 3
- Should a FIXED type for fixed-length character strings be added to DuckDB? HOT 5
- What would be the best way to integrate a client-side DuckDB engine with PuffinDB? HOT 7
- Should we consider adding support for CloudFront to cache certain query results? HOT 6
- Should we use Apache Calcite or Substrait? HOT 13
- How does the read performance compare to AWS Athena? HOT 1
- SELECT THROUGH HOT 9
- Authentication and Authorization HOT 10
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 puffin.