Replies: 4 comments 3 replies
-
MeWell, I'm Willy Svenningson, soon 73 years old, retired since 10 years. Have a doughter and grand kids. I like to work with this because it seems possible to implement an SQL engine in Rust. Love the power of SQL on structured informtion. Alos fond a all kind of Visual Artifacts on software. Like Datamodells, Class/Object diagrams, Process Diagram, FSM, Grammars ... My contribution to the project sofar is most writings on join, index and foreign keys and bug reports. Look around
What's nextA. IDE. I'm using VS Code on a Mac. The source on the git is only packed for lib building and always need some changes for integration test. I think some one could make a suggestion on other stucture. Start with requirements. B. Meta-tables on index and foreign keys etc. C. Derived tables. That includes temporary tables D. Independent subquery caching as sets/bags. Not as relation E. Join everywhere F. Order by, distinct G. select ... from tbla,tblb where ... If it's not implemented there should be some writings on how rewrite into joins. How will do that? Outside scoop with a set of explanations H. The implementation of the SQL engine in Rust is impressive. But also complex. I. I think the heavy row iterators need some refactoring. Need some drawings, structs and relationships, to discuss around I think. |
Beta Was this translation helpful? Give feedback.
-
Nice. More of that kind. |
Beta Was this translation helpful? Give feedback.
-
AchivmentsHej! I have been working a lot the last month implementing some new things
But more powerful I think is the Today are some limitations, but now we got select from file list like
So here is an example
giving
But...In order to produce theese functions I almost broke my neck and actually got dizzy. I removed the async/wait (temporarily?) and also most function iterators. It's kind of progress i any case.
I hope this could contribute to the project but I am not sure how... A zip file or a none-public github with inviting contributors from (Definitely it can't be merged into willy |
Beta Was this translation helpful? Give feedback.
-
Hej. One odd usage of UNION is when testing and for any reason don't having an existing table you can generate on the fly like:
And an observation around optimizing selections. I did build a derived subquery to reduce the total row product. (The example is producing a buy-list of ingredients for a certain recipe)
Reducing the number of checked rows are
With or without of index, ordered/unique, one can also play with generationg (temporary) tables to store result. Relational Calculus is fun! |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions