Hacker Newsnew | past | comments | ask | show | jobs | submit | hamilton's commentslogin

We do have plans. It's a question of effort, not business / philosophy.


It’s good to know it. I live in a heavily regulated workplace and our data usage is constantly monitored.

Good to know a totally offline tool is being considered.

Thanks for the great tool BTW.


That would be nice as it would spare us the effort of replicating the UI, half-baked as we can


Thank you, that's awesome to hear!


it can, but it doesn't format. You can even run the ast!


Obviously one advantage of SQL is everyone knows it. But conceptually, I agree. I think [1]Malloy is also doing some really fantastic work in this area.

This is one of the reasons I'm excited about DuckDB's upcoming [2]PEG parser. If they can pull it off, we could have alternative dialects that run on DuckDB.

[1] https://www.malloydata.dev/ [2] https://duckdb.org/2024/11/22/runtime-extensible-parsers.htm...


Definitely something we want too! (I'm the author / lead for the UI)


Great feedback! Thanks. We agree w/ the red errors. It's not helpful when it feels like your editor is screaming at you.


You should read the post! This is what the feature does.


Can you say more? Where does it error out? Sounds like a bug; if you could post an example query, I bet we can fix that.


What about it is bizarre?


It's probably different for duckdb, but from something like Microsoft SQL tossing off these random queries at a database of any size could have some weird performance impacts. For example statistics on columns you don't want them on, unindexed queries with slow performance, temp tables being dumped out to disk, etc.


I agree; one thing that is neat about Instant SQL is for many reasons, you can't do this with in any other DBMS. You really need DuckDB's specific architecture and ergonomics.


Me too (author of the post here). In fact, I was watching a seasoned data engineer at MotherDuck show me how they would attempt to debug a regex in a CTE. As a longtime SQL user, I felt the pain immediately; haven't we all been there before? Instant SQL followed from that.


Correct. We only enable fast previews for SELECT statements, which is the actual hard problem. This said, at some point we're likely to also add support for previewing a CTAS before you actually run it.


I remember your demos of visualizing the CTEs of a huge query in the editor. I'm looking forward to trying it!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: