Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

prql

> 包管理
Open source

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

10.9K stars0 likes8 views
WebsiteGitHub

About

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

PRQL

Pipelined Relational Query Language, pronounced "Prequel".

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement. Like SQL, it's readable, explicit and declarative. Unlike SQL, it forms a logical pipeline of transformations, and supports abstractions such as variables and functions. It can be used with any database that uses SQL, since it compiles to SQL.

PRQL can be as simple as:

elm
from tracks
filter artist == "Bob Marley"                 # Each line transforms the previous result
aggregate {                                   # `aggregate` reduces each column to a value
  plays    = sum plays,
  longest  = max length,
  shortest = min length,                      # Trailing commas are allowed
}

Here's a larger example of the language:

…

For more on the language, more examples & comparisons with SQL, visit [prql-lang.org][prql website]. To experiment with PRQL in the browser, check out [PRQL Playground][prql playground].

Current Status - July 2026

PRQL is ready to use by the intrepid, either with our supported integrations, or within your own tools, using one of our supported language bindings.

PRQL still has some bugs and some missing features, and is probably only ready to be rolled out to non-technical teams for fairly simple queries.

Development has slowed as we decide how to work on a new resolver, which will let us squash many bugs and simplify our code a lot. It'll also let us scale the language without scaling the complexity of the compiler.

While we figure that out, we're also thinking about:

  • Ensuring our supported features feel extremely robust; resolving any priority bugs. As more folks have started using PRQL, we've had more bug reports — good news, but also gives us more to work on.
  • Filling remaining feature gaps, so that PRQL is possible to use for almost all standard SQL queries.
  • Expanding our set of supported features — we are working to add experimental support for modules / multi-file projects.

And:

  • Making it really easy to start using PRQL. We're doing that by building integrations with tools that folks already use; for example a VS Code extension, Jupyter integration, and the QStudio integration. If there are tools you're familiar with that you think would be open to integrating with PRQL, please let us know in an issue.
  • Whether all our initial decisions were correct — for example how we handle window functions outside of a window transform.
  • Making it easier to contribute to the compiler. We have a wide group of contributors to the project, but contributions to the compiler itself are quite concentrated. We're keen to expand this; #1840 for feedback, some suggestions on starter issues are below.

We're increasingly open to contributions for bigger rewrites of the resolver given how bottlenecked we are on it. If you're interested in contributing, please reach out in an issue or on Discord.

Get involved

To stay in touch with PRQL:

  • Follow us on Twitter
  • Join us on Discord
  • Star this repo
  • [Contribute][contributing] — join us in building PRQL, through writing code (send us your use-cases!), or inspiring others to use it.
  • See the [development][development] documentation for PRQL. It's easy to get started — the project can be built in a couple of commands, and we're a really friendly community!
  • For those who might be interested in contributing to the code now, check out issues with the good first issue label. Always feel free to ask questions or open a draft PR.

Explore

  • [PRQL Playground][prql playground] — experiment with PRQL in the browser.
  • [PRQL Book][prql book] — the language documentation.
  • Jupyter magic — run PRQL in Jupyter, either against a DB, or a Pandas DataFrame / CSV / Parquet file through DuckDB.
  • pyprql Docs — the pyprql documentation, the Python bindings to PRQL, including Jupyter magic.
  • PRQL VS Code extension
  • prqlc-js — JavaScript bindings for PRQL.

Repo organization

This repo is composed of:

  • prqlc — the compiler, written in rust, whose main role is to compile PRQL into SQL. Also contains the CLI and bindings from various languages.
  • web — our web content: the [Book][prql book], [Website][prql website], and [Playground][prql playground].

It also contains our testing / CI infrastructure and development tools. Check out our [development docs][development] for more details.

Contributors

Many thanks to those who've made our progress possible: [prql book]: https://prql-lang.org/book [prql website]: https://prql-lang.org [contributing]: https://prql-lang.org/book/project/contributing/ [development]: https://prql-lang.org/book/project/contributing/development.html [prql playground]: https://prql-lang.org/playground

Issues· 257 open

View all issuesOpen on GitHub
  • #6266

    review-runs-tracking: 2026-09

    review-runs-trackingUpdated Sep 28, 2026
  • #6340

    tend check: configuration drift on PRQL/prql

    Updated Sep 28, 2026
  • #6377

    Non-ASCII text before an error panics prqlc or shifts the error label (byte vs char spans)

    Updated Sep 25, 2026
  • #3105

    PRQL project structure

    planningUpdated Sep 19, 2026
  • #2052

    Add tests for syntax grammars

    help wantedtestingUpdated Sep 15, 2026
  • #5793

    Dead code in PL IR: unused fold_func_param, write-only prev_columns, unreachable display_ids

    Updated Sep 3, 2026
  • #6269

    Security problems with Rust crate `tiberius` (via connector_arrow) plus options for drop-in replacement

    Updated Sep 1, 2026
  • #5751

    `text.contains` underspecified: Text or pattern?

    Updated Sep 1, 2026
  • #6166

    Duplicate `module` definitions silently discard the earlier declaration

    Updated Aug 19, 2026
  • #1206

    Join three tables on same column name

    language-designjoinsUpdated Jul 24, 2026

> Tags

Rustdatapipelinesql

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image