Skip to content

Commit 88c4965

Browse files
tomsgeorgesittas
andauthored
Fix(mysql): delete redundant keywords (#3646)
* 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]>
1 parent 1a84558 commit 88c4965

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

sqlglot/dialects/mysql.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,29 +1093,6 @@ class Generator(generator.Generator):
10931093
"xor",
10941094
"year_month",
10951095
"zerofill",
1096-
"cume_dist",
1097-
"dense_rank",
1098-
"empty",
1099-
"except",
1100-
"first_value",
1101-
"grouping",
1102-
"groups",
1103-
"intersect",
1104-
"json_table",
1105-
"lag",
1106-
"last_value",
1107-
"lateral",
1108-
"lead",
1109-
"nth_value",
1110-
"ntile",
1111-
"of",
1112-
"over",
1113-
"percent_rank",
1114-
"rank",
1115-
"recursive",
1116-
"row_number",
1117-
"system",
1118-
"window",
11191096
}
11201097

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

0 commit comments

Comments
 (0)