This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-15
Channels
- # adventofcode (110)
- # announcements (30)
- # aws (2)
- # babashka (39)
- # babashka-sci-dev (112)
- # beginners (155)
- # calva (5)
- # cider (12)
- # clj-kondo (11)
- # cljs-dev (1)
- # cljsrn (2)
- # clojure (144)
- # clojure-australia (2)
- # clojure-europe (14)
- # clojure-nl (5)
- # clojure-spec (3)
- # clojure-uk (2)
- # clojurescript (22)
- # core-async (23)
- # cursive (31)
- # data-science (3)
- # emacs (12)
- # events (1)
- # fulcro (8)
- # honeysql (7)
- # jobs-discuss (11)
- # lsp (1)
- # missionary (28)
- # nextjournal (7)
- # off-topic (64)
- # pedestal (3)
- # polylith (19)
- # reagent (14)
- # reitit (12)
- # releases (4)
- # shadow-cljs (33)
- # tools-deps (3)
- # xtdb (3)
Quick question for XTDB datalog queries, are the limit and offset options applied before or after unification?
Hey 🙂 limit & offset are always applied after - you can see the full pipeline sequence of operations here: https://github.com/xtdb/xtdb/blob/afd581b4747f18b1332a470ff94174abc6a25947/core/src/xtdb/query.clj#L1716-L1726 ...in summary: 1. joins 2. aggregations 3. order-by 4. offset 5. limit 6. pull 7. return maps
@U0105D1EL4B Since we're experimenting with Discourse as a way of exposing Q&A like this in a searchable way (yesterday's weather has proven we're just not disciplined enough to turn every question into a FAQ in the docs ... and even less disciplined about updating the docs properly), I'm going to start pestering people to duplicate their Slack questions in https://discuss.xtdb.com/c/users/5, if they're willing. Feel free to ignore this request, but now it's out there. 🙂