Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap v0.5 #61

Closed
15 tasks done
Fedomn opened this issue Sep 19, 2022 · 2 comments
Closed
15 tasks done

Roadmap v0.5 #61

Fedomn opened this issue Sep 19, 2022 · 2 comments
Milestone

Comments

@Fedomn
Copy link
Owner

Fedomn commented Sep 19, 2022

Introduce distinct and subquery:

-- distinct
select distinct state from employee;
select count(distinct(b)) from t2;
-- alias
select a as c1 from t1 order by c1 desc limit 1;
select t.a from t1 t where t.b > 1 order by t.a desc limit 1;
-- subquery
select t.* from (select * from t1 where a > 1) t where t.b > 7;
select a, (select max(b) from t1) max_b from t1;
@Fedomn Fedomn added this to the v0.5 milestone Sep 19, 2022
@Fedomn
Copy link
Owner Author

Fedomn commented Nov 10, 2022

Currently, our binder and planner need to refactor and redesign to support more complex SQL, such as scalar and predicate subquery.

After some investigation, DuckDB is a good example to refer to. So let's start by refactoring.

@Fedomn
Copy link
Owner Author

Fedomn commented Nov 13, 2022

Through recent thinking, the project needs to redesign to be more like a database query engine and also to rethink its position that not just a learning project, but an OLAP query engine embedded in-process that sounds like duckdb, but leverages rust ecosystem and Apache Arrow.
Therefore, I renamed the project to sqlrs and started a new milestone.

@Fedomn Fedomn closed this as completed Nov 13, 2022
@Fedomn Fedomn pinned this issue Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant