We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The README shows how a SQL command can be passed to the command via stdin.
Would it be possible to pipe data (in my case JSONL) via stdin, and write a query in argument, much like jq?
Something like that maybe?
$ cat data.jsonl {"id":1,"name":"Guillaume"} {"id":2,"name":"Sophie"} $ cat data.jsonl | polars 'SELECT id, name FROM read_json(stdin())' ┌──────┬───────────┐ │ id ┆ name │ │ --- ┆ --- │ │ i64 ┆ str │ ╞══════╪═══════════╡ │ 1 ┆ Guillaume │ │ 2 ┆ Sophie │
The text was updated successfully, but these errors were encountered:
This looks very useful! Would be nice to have, for sure.
Sorry, something went wrong.
No branches or pull requests
Description
The README shows how a SQL command can be passed to the command via stdin.
Would it be possible to pipe data (in my case JSONL) via stdin, and write a query in argument, much like jq?
Something like that maybe?
The text was updated successfully, but these errors were encountered: