ding-young
ding-young
## Description Implement ast_builder `create_table` statement ## Tasks - [ ] implement basic create table statement - [ ] block invalid column options (ex. NULL NOT NULL) - [ ]...
## Description Support `ArrayIndex` expression for index based access for `Map`, `List` type values ## Example ```sql CREATE TABLE Test ( id INTEGER, items LIST ); INSERT INTO Test VALUES...
# Support composite index Currently, an index can be defined on only one column of a table. However, index defined on multiple columns can be useful when certain fields come...
Fixes #5998 ## Background (1) Comment without arrow `=>` ```rust fn main() { match a { _ => // comment with == { println!("A") } } } ``` (2) Comment...
Currently, `check_table_factor` only checks whether table alias exists in given context. ```rust let alias = match table_factor { TableFactor::Table { name, alias, .. } => alias .as_ref() .map(|TableAlias { name,...
## Related Issue #393 ## Questions.. - entrypoint for translation? - cte alias - cte inside tablefactor::derived ``` WITH cte1 AS (SELECT 1) SELECT * FROM (WITH cte2 AS (SELECT...
Fixes #6005 ## Solution This PR performs manual check for blank line in span between (`inner attrs` and `first match arm`) or (`inner attrs` and `comment` before match arm) and...
/claim #3957 ### All Submissions: * [x] Contributions should target the `dev` branch. Did you create your branch from `dev`? * [x] Have you followed the guidelines in our Contributing...
Tracked by https://github.com/rust-lang/rustfmt/issues/6206 ## Description - [ ] SegmentParam - [ ] ast::AssocConstraint - will work on further pr with `rewrite_generic_args` - [x] ast::AssocConstraintKind - [ ] ast::WherePredicate - will...
Tracked by #6206 ## Description - added `RewriteError` and blanket implementation for `rewrite_result` - above 6 ast nodes that implements rewrite, replaced rewrite function body with `rewrite_result` for 4 nodes;...