Skip to content

Commit

Permalink
Fix(mysql): delete redundant keywords (#3646)
Browse files Browse the repository at this point in the history
* Feat(bigquery,presto): improve transpilation of INTERVAL (plural to singular)

* Feat(bigquery,presto): improve transpilation of INTERVAL (plural to singular)

* Feat(bigquery,presto): improve transpilation of INTERVAL (plural to singular)

* fix(doris) , mysql group_concat function different doris , it is not support separator keyword

* fix(doris) , mysql group_concat function different doris , it is not support separator keyword

* fix(doris) , mysql group_concat function different doris , it is not support separator keyword

* fix(doris) , mysql group_concat function different doris , it is not support separator keyword

* fix(doris) , mysql group_concat function different doris , it is not support separator keyword

* Update tests/dialects/test_doris.py

* Update sqlglot/dialects/doris.py

* Update sqlglot/dialects/doris.py

* Update sqlglot/dialects/doris.py

* fix(presto to hive) , TIMESTAMP_TRUNC function to trunc function

* fix(presto to hive) , TIMESTAMP_TRUNC function to trunc function

* fix(presto keyword) DIV

* fix (mysql) delete redundant keywords

* github

---------

Co-authored-by: Jo <[email protected]>
  • Loading branch information
toms and georgesittas authored Jun 13, 2024
1 parent 1a84558 commit 88c4965
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions sqlglot/dialects/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,29 +1093,6 @@ class Generator(generator.Generator):
"xor",
"year_month",
"zerofill",
"cume_dist",
"dense_rank",
"empty",
"except",
"first_value",
"grouping",
"groups",
"intersect",
"json_table",
"lag",
"last_value",
"lateral",
"lead",
"nth_value",
"ntile",
"of",
"over",
"percent_rank",
"rank",
"recursive",
"row_number",
"system",
"window",
}

def array_sql(self, expression: exp.Array) -> str:
Expand Down

0 comments on commit 88c4965

Please sign in to comment.