From da6f772fd1b356e39a5484bfe3bcd69e0952acf9 Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Wed, 6 Apr 2022 23:25:33 +0800 Subject: [PATCH] notes --- PLAN.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 PLAN.md diff --git a/PLAN.md b/PLAN.md new file mode 100644 index 00000000..519d71ea --- /dev/null +++ b/PLAN.md @@ -0,0 +1,41 @@ +# Structure of the project + +* Parser +* Query AST +* Typing support +* Logical plan/optimizers +* Physical plan/optimizers +* Runtime representation (values) +* DB interaction/(de)serialization +* Evaluator/interpreter/VM +* Plan executors + +``` +{ + *id: id, + name: d.name[0] +} +``` + +``` +$name +${name:?Int} +``` + +``` +where a: b.id == c.id +trail +``` + +``` +select ... +view X = select {} : Vertex +let z = select {} : Vertex +``` + +``` +let vs with +[a:V] +[v:X] +[p:=z] +``` \ No newline at end of file