Comment by samatman
4 years ago
I'm also completely unfamiliar with the PRQL syntax, outside of right now.
Reading the comment however, it would seem that `let` adds columns which are implicitly returned in the order they are defined.
I do see benefits in this, and can imagine pitfalls. Hard to judge without kicking the tires.
Update: It's quite possible we saw different syntax!
https://news.ycombinator.com/item?id=30063266
Without the `let` I would imagine having trouble reading it as well, I'm not sure if that would go away with familiarity but my instinct is that it's a useful addition.
No comments yet
Contribute on Hacker News ↗