Replies: 2 comments 3 replies
-
That's a good list! Somewhat similar to https://prql-lang.org/book/transforms/index.html, but includes To respond to your question quickly, though not fully — I think about the "order of execution" as something PRQL "evades" by taking whatever the query contains. So the order of execution is the just the order in which the transform appear. Does that resonate at all? Beginners' guide would be great! Whatever you think is missing now — you're probably the best judge of that... |
Beta Was this translation helpful? Give feedback.
-
Thanks for letting me know your thoughts. From the link you provided, the idea of transforms is referred to as orthogonality -- "change just one thing without affecting others"
But it seems like the from transform is required first, right? Using the following example:
However, if I swap the two transforms, PRQL seems to error:
I know you and the other developers are working hard at getting 0.9.0 out. So I'm only asking this as a reference to understanding PRQL in context of my original question "is there a PRQL Order Of Execution" and this can be tabled until another time if needed. |
Beta Was this translation helpful? Give feedback.
-
What I like about PRQL is that it closely resembles SQL's Order of Execution:
I've tried to search and see if this was by design or a goal of PRQL ... but I couldn't find this information. Can anyone specifically confirm this?
I've been thinking about how to craft a beginner's guide to PRQL and wanted to use the idea of SQL's Order Of Execution. Would this also apply to PRQL? Or in other words ... is there a PRQL Order Of Execution?
I was hoping the idea of a beginner's guide is to formulate a process of crafting queries beyond just learning the specific commands of PRQL. Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions