Comments (4)
sqlglot's core is a handwritten python based parser. we can't just use sqlparser-rs. you'd have to basically rewrite sqlglot in rust.
from sqlglot.
this is great thank you so much, i didn't know this one existed
from sqlglot.
@tobymao @wseaton Both your projects are awesome and I want to use both sqlglot, for it's beautiful API, and sqloxide, for it's blazing fast parsing using rust.
Does it makes sense to use sqlglot on top of a "sqloxide engine/parser"?
from sqlglot.
To add to @tobymao's comment, while there is some very basic feature overlap, sqlparser-rs
also has API stability properties that are not desirable for a transpiler/formatter. Different projects with different design considerations and goals :)
from sqlglot.
Related Issues (20)
- Read existing SQL and add new expressions to it HOT 1
- clickhouse: parse all aggregate functions as `exp.AggFunc` and support aggregate combinators HOT 1
- sqlglot strftime pattern conversion doesn't preserve original text as non-pattern HOT 1
- Support full range of prepared statement parameters for duckdb HOT 1
- `explode_to_unnest` transformation generates query that cannot be executed with trino
- : is parsed as Bracket (Snowflake) HOT 3
- Not all Snowflake date and time parts are properly supported
- percentile_cont is changed to quantile_cont (duckdb)
- lineage is broken when there is unnest
- CROSS APPLY is changed to LATERAL (tsql) HOT 3
- lineage is incorrect for 2 unnest HOT 3
- Convert SAMPLE (snowflake) to SAMPLE USING (duckdb) HOT 1
- Support TO_TIMESTAMP_* (Snowflake) HOT 1
- Support TIME (BigQuery) to TIME (duckdb) HOT 1
- timestamp_from_parts signature with date and time input arguments not supported (snowflake) HOT 1
- SAMPLE defaults when transpiling from Snowflake <-> duckdb
- Support BigQuery UNIX_DATE HOT 4
- Supports dialect conversion of statements after explain HOT 1
- `qualify` fails with `schema` HOT 3
- BigQuery does not parse COUNTIF HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlglot.