Replies: 5 comments
-
It seems to suit me, Can I take this? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your enthusiasm ❤️ This feature is still under discussion, and we wonder if it suits GreptimeDB. You could also comment to tell what you think about it |
Beta Was this translation helpful? Give feedback.
-
This query language looks interesting. Maybe we can give it a shot in the Flow project. @discord9 |
Beta Was this translation helpful? Give feedback.
-
One thing I'm afraid is that, as in #3557 -
... whether it's even a good direction. |
Beta Was this translation helpful? Give feedback.
-
Move to Ideas until we have any concrete plan. |
Beta Was this translation helpful? Give feedback.
-
What problem does the new feature solve?
Add a new query language support for prql https://prql-lang.org, which allows writing queries in pipeline-like style. I tried a few queries in the playground, one impressive example is querying "the top 10 cities average billing info among the latest 100 records". It needs a CTE first to get the latest 100 records, and then calculate their average. But this CTE is hidden in prql:
Generated SQL:
It also provides some short-hand time/date/interval annotations, we could also benefit from it.
What does the feature do?
Support prql language. It would not have many things to do as it provides an embedded compiler library that can compile prql to SQL. We only need to touch the parser IMO.
Implementation challenges
No response
Beta Was this translation helpful? Give feedback.
All reactions