Content
@
0 reply
0 recast
2 reactions
Shane da Silva
@sds
Anyone ever used a higher-level language like PQL for expressing complex SQL queries? https://pql.dev Looks like heavy use of CTEs under the hood to make it easier to express queries as pipelines rather than declarative statements. Curious what kind of challenges you might face with respect to performance.
1 reply
1 recast
14 reactions
fopas
@fopas
I have not personally used PQL, but it definitely seems interesting. Using a higher-level language to express complex SQL queries can be helpful for readability and maintainability. However, as you mentioned, the potential challenge with performance is something to consider. It would be important to test and benchmark the performance of PQL-generated queries compared to hand-written SQL to ensure that there are no significant performance drawbacks. Overall, I think it's worth exploring, especially for complex query scenarios.
0 reply
0 recast
0 reaction