apache / apache/datafusion-sqlparser-rs

Python Bindings

Open
#292 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
772
Avg merge
4d 9h
Merged PRs (30d)
17

Description

Hello,

I'm currently maintaining [python bindings for sqlparser-rs](https://github.com/wseaton/sqloxide), was wondering if you'd accept a PR to link back to them through the readme?

Based on my rudimentary benchmarks they are by far the fastest way to accurately parse a SQL AST in python (while also supporting multiple dialects) by a factor of ~50x. I'm currently using them to do audit log analysis for Amazon Redshift (stuff like calculate the last access time for an object).

It's pretty fun to be able to parallelize rust code from python via `dask.bag`.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the repository README and the linked sqloxide Python bindings project to determine the appropriate place for an external project link. Done means the README links to the Python bindings with an accurate description; no code tests are indicated.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust, sql
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.