pedram โœ…

880 Followers
188 Following
292 Posts
Fairfax, CA. Consulting on data, product, and marketing. I love/hate #data.
Twitterhttps://twitter.com/pdrmnvd
Substackhttps://pedram.substack.com

One of my favourite underrated Hex features has got to be query mode.

Instead of returning a dataframe, Hex builds a query you can iteratively work on. As if every CTE had its own table output. Really magical.

https://learn.hex.tech/docs/logic-cell-types/sql-cells/overview#query-mode

Overview | Learn | Hex Technologies

Hex has first-class SQL support via SQL cells, each of which is a fully fledged query IDE complete with autocompletion, caching, a Data browser, and more. Projects can have an unlimited number of SQL cells interleaved with Text, Code, Chart, or Input cells, creating an extremely flexible querying environment.

๐Ÿš€ Docs are written, CI checks passed. 0.0.1 is released! https://github.com/PedramNavid/dbtpal/releases/tag/v0.0.1

Features:
- Run / test model, project, or selectors.
- Async jobs with pop-up outputs
- Jinja-aware SQL syntax highlighting
- Protects compiled files
- Fuzzy Find go-to-file

Release v0.0.1 - First Release ยท PedramNavid/dbtpal

Here it is. My very first release. Full Changelog: https://github.com/PedramNavid/dbtpal/commits/v0.0.1

GitHub
best description of #duckdb yet

Fun one: added a telescope extension for fuzzy finding any model and opening it quickly.

One issue, though is `dbt ls` doesn't differentiate between your models and imported packaged ones, so some work still to be done. (Please don't make me parse yaml)

#dbt #neovim #nvim #lua #datadon

Jaipur is also neat

In India for a wedding, some photos from Delhi, where we spent a few days before we head to Jaipur and Agra.

#travel #photography #travelphotography #india

This was really fun, diving into vim syntax internals to create a syntax definition for dbt-flavored jinja, covering macros, functions, statements, and some common dbt identifiers.

Using a hot-key below to switch from built-in sql highlighting and my dbt jinja plugin.

#vim #dbt #jinja