sqlparse icon indicating copy to clipboard operation
sqlparse copied to clipboard

Still being maintained?

Open ConstantinoSchillebeeckx opened this issue 3 years ago • 9 comments

Is this project still being maintained? There are 172 open issues, 18 PRs and the last commit was in Dec 2020 :(

yes, just busy at work

Am Mi., 26. Mai 2021 um 14:35 Uhr schrieb Constantino Schillebeeckx < @.***>:

Is this project still being maintained? There are 172 open issues, 18 PRs and the last commit was in Dec 2020 :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andialbrecht/sqlparse/issues/624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGIIBBBF5BCF455G2SEQ3TPTTILANCNFSM45R57LQA .

andialbrecht avatar May 26 '21 13:05 andialbrecht

Anything we can do to help out?

I've created a full sql parser / transpiler from scratch and am actively developing it. It has a full tokenizer / parser and doens't use regex.

It can transpile from various sql dialects to other sql dialects as well as things like formatting and parsing things out.

https://github.com/tobymao/sqlglot

tobymao avatar Jun 15 '21 05:06 tobymao

Anything we can do to help out?

Yeah, actually if there was something we could do to help out I'd like to contribute... Because of my job I worked I lot on the code and I would also have some changes to propose for discussion. Would you be interested?

f-raffa avatar Jul 04 '21 14:07 f-raffa

I've created a full sql parser / transpiler from scratch and am actively developing it. It has a full tokenizer / parser and doens't use regex.

It can transpile from various sql dialects to other sql dialects as well as things like formatting and parsing things out.

https://github.com/tobymao/sqlglot

@tobymao: I checked your project and I was wondering if you were planning to integrate any formatting capabilities to it?

f-raffa avatar Jul 04 '21 14:07 f-raffa

@f-raffa i have a pretty mode, and you can chose the indent and padding levels

tobymao avatar Jul 04 '21 18:07 tobymao

@tobymao: I see. I'd like simply to parse and format a sql statement without transpiling it. Does your app provide such a functionality? May you please share the command that I should use to do that?

f-raffa avatar Jul 13 '21 07:07 f-raffa

sqlglot.transpile("select * from x", read='presto', pretty=True)

tobymao avatar Jul 13 '21 15:07 tobymao