File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ def is_sql_keyword(text: str) -> bool:
108
108
"TOP" ,
109
109
"WITH" ,
110
110
"RECURSIVE" ,
111
- "CTE" ,
112
111
# Data types
113
112
"INTEGER" ,
114
113
"INT" ,
@@ -146,40 +145,12 @@ def is_sql_keyword(text: str) -> bool:
146
145
"CURRENT_DATE" ,
147
146
"CURRENT_TIME" ,
148
147
"CURRENT_TIMESTAMP" ,
149
- "EXTRACT" ,
150
- "DATE_TRUNC" ,
151
- "DATE_PART" ,
152
- # Aggregate functions (common ones)
153
- "COUNT" ,
154
- "SUM" ,
155
- "AVG" ,
156
- "MIN" ,
157
- "MAX" ,
158
- "STDDEV" ,
159
- "VARIANCE" ,
160
- # Window functions
161
- "OVER" ,
162
- "PARTITION" ,
163
- "ROW_NUMBER" ,
164
- "RANK" ,
165
- "DENSE_RANK" ,
166
- "LAG" ,
167
- "LEAD" ,
168
- "FIRST_VALUE" ,
169
- "LAST_VALUE" ,
170
- "NTILE" ,
171
148
# Other common keywords
172
149
"CASE" ,
173
150
"WHEN" ,
174
151
"THEN" ,
175
152
"ELSE" ,
176
153
"END" ,
177
- "CAST" ,
178
- "CONVERT" ,
179
- "COALESCE" ,
180
- "NULLIF" ,
181
- "IFNULL" ,
182
- "ISNULL" ,
183
154
"DESC" ,
184
155
"ASC" ,
185
156
"TRUE" ,
You can’t perform that action at this time.
0 commit comments