SQL Autocomplete

Peter Schrader · Friday Demos · June 26, 2026 · 1:54

Advanced SQL autocomplete now surfaces actual column names in the editor — works for joins, bare tables, and basic aliasing, covering \~80% of use cases; CTEs and subqueries are future work.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Other piece I'd like to demo is really just a nice quality of life upgrade uh is more advanced SQL Autocomplete. This has been live, I believe, on the internal Omni app uh this week. Uh I've just been doing some testing with some of the really wide tables we have and larger schemas before we turn on for everybody.

  2. Um so previously dip the autocomplete would kind of depend on uh what you had expanded uh in views and fields, and then really column support was not really there. So now when you're typing um you know you're we want to filter users in this case you could say you know where uh the age is greater than greater than 40 uh but you can see that most importantly I'm actually seeing the columns and then in this join statement I'm going to be able to see the columns for order items and for users.

  3. So uh important to know that this works for I would say like 80% of use cases. So obviously pretty basic queries for cable chains like public.users, but it also works for uh bear tables like fabrices type users, that works as well. Um and you can see it does work for basic aliasing uh like I'm doing here. However, it does not currently work for more advanced SQL like uh CTEs or subqueries, any situation where there's some level of like column uh projection, that's requires a more advanced level of parsing, whereas this is doing really just identifying tokens in the incomplete SQL.

  4. So there's gonna be more to come there, but hopefully this accommodates like 80% of use cases. If anyone has uh feedback, feel free to reach out. That's it. Right. Um let me share my screen here. Okay.