Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRQL as a 100% replacement for SQL #959

Open
qharlie opened this issue Sep 11, 2022 · 5 comments
Open

PRQL as a 100% replacement for SQL #959

qharlie opened this issue Sep 11, 2022 · 5 comments
Labels
language-design Changes to PRQL-the-language planning

Comments

@qharlie
Copy link
Contributor

qharlie commented Sep 11, 2022

Opening this to track places we still need s-strings or other workarounds for full functionality.

@qharlie qharlie added the language-design Changes to PRQL-the-language label Sep 11, 2022
@max-sixty
Copy link
Member

Some issues on being able to extend s-strings:

I think s-strings are a great way of solving for a large number of corner cases, so I would vote to do what we can to allow those more pervasively (though I recognize there are genuine issues around variable resolution and query coherence)

@mklopets
Copy link
Collaborator

The main problem we're seeing with s-strings (even more so than e.g. variable resolution) is that you lose database-agnostic-ness (which is something we're trying our best to maintain).

@max-sixty
Copy link
Member

Another current gap in s-strings is preventing them from being auto-formatted: #965. (Issue opened upstream, we can work around it if that doesn't yield anything)

@vanillajonathan
Copy link
Collaborator

vanillajonathan commented Feb 11, 2023

PRQL is very far from a 100% replacement for SQL.

PRQL only a data query language (DQL), while SQL is a data query language (DQL), a data definition language (DDL), a data control language (DCL), and a data manipulation language (DML).

SQL have JSON, XML, constraints, triggers, collations, stored procedures, FFI, etc.

@max-sixty
Copy link
Member

This issue is about being a replacement for the querying part of SQL @vanillajonathan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language-design Changes to PRQL-the-language planning
Projects
None yet
Development

No branches or pull requests

5 participants