Dynamic column picker (launched)

Colin Zima · Friday Demos · May 24, 2024 · 2:16

Some interesting new modeling patterns for dynamic column pickers and dynamic table pickers using `IDENTIFIER`, including default filters to select a starting column or table

Try it yourselfThe full week on docsanalysis-patternmodeling

Transcript

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

  1. uh I can fire up the first quick one Zeke can help me out okay what do we got here oh wait hold on I've got GitHub open be the first post for demos um okay so uh this one was actually discovered by one of our customers already at the rounds um and obviously we have now the ability to do things like Dynamic columns in the UI uh but snowflake specifically and a few other dialects have this concept called identifier um and what we can actually do is we can build like a truly completely Dynamic um column picker so using this sort of dynamic identifier text uh we can put a column picker in and you can actually choose the columns that you want or things

  2. like select star and this is all powered by the column list in the users table which is just an information schema query so we're essentially populating the suggestions out of the information schema and what that means is on a live basis we can actually select out a column so we could just say state for example and the dynamic column will actually Swap and this will just actually default work for any column that comes into this table so this is almost like a backend version of a dynamic table it's a little bit inflexible because you've got a sort of BL the metric and the dynamic column um but also with the new sort of defaulting stuff um very soon the dynamic table will also be possible

  3. so the ability to actually swap dynamically the table in the from claw and the nice thing here is this is sort of done at the snowflake layer um as opposed to like us having to do it in the app uh we're just sort of calling these infos G of queries so um a really easy sort of fast flexible uh Dynamic column Flopper does that need to be a single select widget there it probably should be I don't know what would happen if I typed in to I'm seriously break