Skip to content

Commit

Permalink
Note about union/with
Browse files Browse the repository at this point in the history
  • Loading branch information
wotbrew committed Sep 9, 2024
1 parent df042df commit df9c8c2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
---

With q returning a vector, what of union & rel.

* these are currently top level macro, should they be special nested forms?
* logically they apply to the src position in relational bindings
** (c/q [a (c/union b c d)] a)
** (c/q [a (c/with [b c, b d] b)] a)
*** is this too noisy?
*** could add an arity for with, makes adding opts harder? (c/rel [b c, b d] [a b] a)
also, what about apply cte, using column variables in the cte definitions

---

one pass aggregation perf

group-fusion works again, but it does not perform as well as I'd like.
Expand Down

0 comments on commit df9c8c2

Please sign in to comment.