Live data from Hacker News

Show HN: PRQL 0.2 – a better SQL

github.com

1–10 of 166 posts

Show HN: PRQL 0.2 – a better SQL

#1
Hi everyone — thanks for your interest in PRQL — let us know any questions or feedback!

We're excited to be releasing 0.2[1], the first version of PRQL you can use in your own projects. It wouldn't exist without the feedback we got from HackerNews when we originally posted the proposal.

[1]: https://github.com/prql/prql/releases/tag/0.2.0

Show HN: PRQL 0.2 – a better SQL
github.com

Re: Show HN: PRQL 0.2 – a better SQL

#3
Is it true that this is somehow an analogue to how JS development is really ultimately targeting browser-compatible-JS in the end, even though we use the latest ECMAScript features & TypeScript in development? I.e. is it expected someone writes PRQL and then transpiles before executing against the database? Is there a REPL one can use against a local Postgres or something?

Re: Show HN: PRQL 0.2 – a better SQL

#5
post #3

Is it true that this is somehow an analogue to how JS development is really ultimately targeting browser-compatible-JS in the end, even though we use the latest ECMAScript features & TypeScript in development? I.e. is it expected someone writes PRQL and then transpiles before executing against the database? Is there a REPL one can use against a local Postgres or something?

> Is there a REPL one can use against a local Postgres or something?

Somewhat — you can use it in Jupyter now[1]; e.g.:

    %%prql
    from p = products.csv
    group categoryID (
      aggregate [average unitPrice]
    )
This doesn't yet have the benefits we'd get from e.g. autocomplete, so there's much more to do there.

There's also a cool TUI in PyPrql[2]

[1]: https://pyprql.readthedocs.io/en/latest/magic_readme.html

[2]: https://pyprql.readthedocs.io/en/latest/readme.html

Re: Show HN: PRQL 0.2 – a better SQL

#8
I've been contributing to this project on a few little things due to my little knowledge level. But I felt like home with such a good company of people!.

I not mature enough to fully appreciate the technical potential of the project, but the good ambient, the kindness and the growth potential is for sure worthwhile. I truly encourage everyone to contribute!

Re: Show HN: PRQL 0.2 – a better SQL

#9
This looks great. I've thought about something similar to this for quite a while now. Column autocomplete is key for me from a quality of life perspective and to make it truly usable.

I'd absolutely love to see the next level of this pipeline be continued where something like Observable Plot or ggplot2 like functionality where you can take your pipeline data analysis and directly plot it to visualize it.

Post reply on HN