Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ivanceras/sql-ast
SQL abstract syntax tree
https://github.com/ivanceras/sql-ast
d7ac4d7c432aaaa83f8cdcb3fd436f3c01222304 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
18d718899abb5a89d1cbcef8229ece37497afb66 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
479d24d27ce4855e4e8aede65df00ae83f432247 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
c151aaf54c7eb7b4757d9ac82ceb2388b1e1eea2 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
8190c5ced5e399127eb1a6b621bb0319b17f7ebc authored about 4 years ago by Jovansonlee Cesar <[email protected]>
1910b1a10eb3914418916bca687ea7271675ac51 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
cfb83b8d2d5b5298273f5ba5ed092504c84746d1 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
db38365c499668db383f9380301e8969a5092cfc authored about 4 years ago by Jovansonlee Cesar <[email protected]>
6efa8a8632dd87ea20a18997db6e8222e09326a3 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
ac660b6651d6426bc8a5be8eef7653d1e38f6903 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
9db973f0ad9112c67d03e4172f4ca8a4c8b9afd3 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
fd49bcfae1d3d843c03b1537eed65d3cbc5abd9d authored about 4 years ago by Jovansonlee Cesar <[email protected]>
2718e72129a872a786d0ea01cbdcef8c1de18721 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
bf14521e8a91d6fdf8b4a7d831019dae75792e90 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
ac6e6f64c50a7008f43cc359ab819afaf8105835 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
5252399024d1c9c94d093c4cfc5f4ebac580f44a authored almost 5 years ago by Jovansonlee Cesar <[email protected]>
Fix tests to the new name sql-ast
97b2471706e2c0d5508b6ffbe2e75887e2b326e0 authored almost 5 years ago by Jovansonlee Cesar <[email protected]>cc3798f2bc9c6db391a4f38057cf6c4e45bde2e1 authored almost 5 years ago by Jovansonlee Cesar <[email protected]>
9826c736a273c3f56191c05dca9bf83c28cc0137 authored almost 5 years ago by Jovansonlee Cesar <[email protected]>
4f73f2baa25f91c3b5eff7e1491dc000d9544322 authored almost 5 years ago by Jovansonlee Cesar <[email protected]>
fddf32612d88d070c4ec6a3d25aa74d64cbd4717 authored about 5 years ago by Jovansonlee Cesar <[email protected]>
243caacf880312144ae74bfe44116b3d7e789359 authored about 5 years ago by Jovansonlee Cesar <[email protected]>
c62db522c6a5a7b7476c1df34d4dfd541601069b authored about 5 years ago by Jovansonlee Cesar <[email protected]>
abc90b210365782511d8885bb4836b72ffb5a9fd authored about 5 years ago by Jovansonlee Cesar <[email protected]>
7de437b51e42f4e001703ef36acf0993c9bc182c authored about 5 years ago by Jovansonlee Cesar <[email protected]>
Support quoted identifiers in AST as well
4cdd6e2f841d6fab2eba284d22c58cbe6bd6c781 authored about 5 years ago by Nikhil Benesch <[email protected]>
The Ident type was previously an alias for a String. Turn it into a full
fledged struct, so that...
Add Github Action
9b2287f14cdd1d5ac47d293aa1beddf77520c8d0 authored about 5 years ago by Andy Grove <[email protected]>a2613f9dd1fe9829bcf690f734d328c441c19747 authored about 5 years ago by Andy Grove <[email protected]>
0687d3aca8e343a81e5da23a0ab56f831958bb51 authored about 5 years ago by Andy Grove <[email protected]>
7730e5762a1a5ac50909601c8b64071c3a1ce27b authored about 5 years ago by Andy Grove <[email protected]>
Update CHANGELOG.md for 0.5.0
8c882949662b7c9ea23af789edb5843a24a412dd authored about 5 years ago by Nickolay Ponomarev <[email protected]>41eda23ede3b536b132bcc3ae96b332f86982ad4 authored about 5 years ago by Andy Grove <[email protected]>
60448382c21abf53c5c35c1bfa22c47f39e902b3 authored about 5 years ago by Andy Grove <[email protected]>
9b49db35ff996e09263115e993718b2aead2e576 authored about 5 years ago by Andy Grove <[email protected]>
489f157f1791fae6611d86eee311a16651f3a6c1 authored about 5 years ago by Nickolay Ponomarev <[email protected]>
adeb3f1f529b386bc5b5eef634b7255d05561227 authored about 5 years ago by Andy Grove <[email protected]>
8757a33013485db878c12fa90a4a7427c7db80c3 authored about 5 years ago by Andy Grove <[email protected]>
Allow semicolon after start transaction
c7021ed145c59f9684bac6a14d63ddb66ec4aa17 authored over 5 years ago by Nikhil Benesch <[email protected]>Co-authored-by: Nikhil Benesch <[email protected]>
2bb38c9b277b72f1d384ce83cb7377b1bf0225c3 authored over 5 years ago by gaffneyk <[email protected]>Fix merge skew with number literals
abf68c6af6a90794d6cb06d19db09afd15df1a5d authored over 5 years ago by Nikhil Benesch <[email protected]>b8fe800da5b65013ad4e2c82bb4b53f682a85691 authored over 5 years ago by Nikhil Benesch <[email protected]>
Support MySQL `SHOW COLUMNS` statement
e9c5567b0403d3b86e0db072e479472474c1b3a6 authored over 5 years ago by Nikhil Benesch <[email protected]>Don't lose precision when parsing decimal fractions
f4df34074cfb75e5a76b30b96520a38d3dd89e60 authored over 5 years ago by Nikhil Benesch <[email protected]>
With `--features bigdecimal`, parse numbers into BigDecimals instead of
leaving them as strings.
The SQL standard requires that numeric literals with a decimal point,
like 1.23, are represented...
e1ded184f87df9f229841f5103f4c7f8827383a9 authored over 5 years ago by Nikhil Benesch <[email protected]>
Check that CI enforces rustfmt
2bef9ec30a0ed20c73dbf44d5ae19f65c9c844ac authored over 5 years ago by Nikhil Benesch <[email protected]>Co-authored-by: Nikhil Benesch <[email protected]>
f64928e99458cd2886dc4f84abd8405bccd8de33 authored over 5 years ago by Brandon W Maister <[email protected]>add `expect_keywords` function
35a20091ea12d23d30b67cb774e602a7bba29631 authored over 5 years ago by Nikhil Benesch <[email protected]>
The code for parsing chains of expected keywords is more readable with
this helper function.
Co...
41d4ea480ff27d95528c6d095e9c9c088f72eb1b authored over 5 years ago by Brennan Vincent <[email protected]>070d0192bf5785e765e4ca49addabf980a80ab11 authored over 5 years ago by Nikhil Benesch <[email protected]>
The previous incantation was simply *never* running rustfmt in CI,
rather than only running rust...
Assorted code simplification and doc improvements
391a54b5a3f54de102d021621c73c9e2dbfd4053 authored over 5 years ago by Nickolay Ponomarev <[email protected]>To use the new helper effectively, a few related changes were required:
- Each of the parse_......
03efcf6fa6ac2745ae27f6188e93863ae3ea9808 authored over 5 years ago by Nickolay Ponomarev <[email protected]>f11d74a64de2c90770c433951492344aec2067a7 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
The note about WindowFrameBound::Following being only valid "in
WindowFrame::end_bound" was both...
64e7be0c685541f3d37960ec19da777c8e335d41 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
It used to consume the `RParen` closing the encompassing `OVER (`, even
when no window frame was...
9314371d3b728617fef95d06de5e4c7c5d81ddb9 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
ac8ba107e3a69e938ca00c0a24173b68aa18c669 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
1b31f0373237cbf1d6e2ec163dc991e30db8f246 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
Add a changelog
275e6b13c91c0ebfa9f3cb654d5ad78deca2b77d authored over 5 years ago by Nickolay Ponomarev <[email protected]>7c153e1ab06d9cd6e2aa77e39d876b081a233fbe authored over 5 years ago by Nickolay Ponomarev <[email protected]>
README: update for recent improvements
8cd64e7b946899748702c09f68163d923a0e0805 authored over 5 years ago by Nikhil Benesch <[email protected]>
Remove outdated bits that claim shoddy SQL support and code
structure--we're much better on thos...
7a4eb505b31dd6a988917f82113164e483853b00 authored over 5 years ago by Andy Grove <[email protected]>
4f805d6c96771cbb04e62fdde78736173c472fab authored over 5 years ago by Andy Grove <[email protected]>
implement fmt::Display instead of ToString
ed76cd68f8da83c0c8429d89335057e58fc6ca17 authored over 5 years ago by Nikhil Benesch <[email protected]>Update comments after the renaming done in PR #105
b6538592da408f42b6fef581ca96351ca339b53a authored over 5 years ago by Nickolay Ponomarev <[email protected]>7d4b488336aa7ee9bcee553d4d7f2b955b00898b authored over 5 years ago by Nickolay Ponomarev <[email protected]>
b2b159fed1c4b7726428a1e5ab31ec276164d2c5 authored over 5 years ago by Bernardo <[email protected]>
Implement Eq alongside Hash
cdba43682f20fcfbbc39d9401c9f1869e9693030 authored over 5 years ago by Nikhil Benesch <[email protected]>
It turns out implementing Hash alone is not very useful, as
std::collection::HashMap keys are re...
Remove "SQL" prefix from "SQLDateTimeField" struct
f7199ec99fceb677042d20756e4a38999ce3442d authored over 5 years ago by Nikhil Benesch <[email protected]>
I realized a moment too late that I'd missed a type name in
when removing the "SQL" prefix from ...
Remove "SQL" from types (and other renames)
bafb20746f70cf3893d00503d1159b3aeaf8289b authored over 5 years ago by Nikhil Benesch <[email protected]>
The rationale here is the same as the last commit: since this crate
exclusively parses SQL, ther...
Since this crate only deals with SQL parsing, the modules are understood
to refer to SQL and don...
Rename ASTNode to Expr
5b23ad1d4c45e4d5866b6e33bace33246c1c6f09 authored over 5 years ago by Nikhil Benesch <[email protected]>[mssql/oracle] Support CROSS/OUTER APPLY
3c401d5e4f43a0d80331244f66ae950bd0a592f9 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
The ASTNode enum was confusingly named. In the past, the name made
sense, as the enum contained ...
T-SQL (and Oracle) support non-standard syntax, which is similar in
functionality to LATERAL joi...
0f6bf1525841a4024667938df01c128428c8dd36 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
Don't silently accept naked OUTER JOINS
e6b26330df8947abc0a28c1bc4ba044a8f46d350 authored over 5 years ago by Nikhil Benesch <[email protected]>
`SELECT * FROM a OUTER JOIN b` was previously being parsed as an inner
join where table `a` was ...
Support HAVING/LIMIT/OFFSET/FETCH without FROM and other follow-ups
785754374963524064e514ebbe3cc6d5ad0350b7 authored over 5 years ago by Nickolay Ponomarev <[email protected]>a37ba089ecc13bb6539e18e70dafd67173c487dc authored over 5 years ago by Nickolay Ponomarev <[email protected]>
...which is weird but allowed:
https://jakewheat.github.io/sql-overview/sql-2011-foundation-gram...
Postgres allows it, as does ANSI SQL per the <query expression> definition:
https://jakewheat.gi...
c1509b36ec1f2df5bd257453587fa74ba008500f authored over 5 years ago by Nickolay Ponomarev <[email protected]>
f87e8d51584c8cff40ac4f2dc75309d49d491921 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
3c073a4c34abfdc4f1ba59dc50afc232db5ea340 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
4f239745bc7a8978e35c0deffe9ec79acb6a2ba7 authored over 5 years ago by Nickolay Ponomarev <[email protected]>
Doc improvements and follow-ups to the recent PRs
dc26c4abd589d477789f5d21af0bb1a6c3ba63e2 authored over 5 years ago by Nickolay Ponomarev <[email protected]>Refine join parsing
98a06d6d237e2c7f1e13380ae5f55cdc5c38edbb authored over 5 years ago by Nikhil Benesch <[email protected]>535505bb96ea901e162489171d5cdd8e1162da1a authored over 5 years ago by Nickolay Ponomarev <[email protected]>
The SQL specification prohibits constructions like
SELECT * FROM a NATURAL JOIN (b)
where ...
4ee461bae4ad63879ebb36d59782e180e22d051d authored over 5 years ago by Nikhil Benesch <[email protected]>
This commit adds support for derived tables (i.e., subqueries) that
incorporate set operations, ...
(Coveralls notices we didn't have one.)
5c7ff79e78ae0a96ee6c28fe0978f185c4f5b9c2 authored over 5 years ago by Nickolay Ponomarev <[email protected]>