Skip to content

Commit

Permalink
feat: Support revoke command/grant command improvements for Clickhouse (
Browse files Browse the repository at this point in the history
#229)

* feat: support revoke command

* fix: fix test/get rid of a lot of newlines

* feat: grant fixes

* feat: revoke improvement

* fix: rule naming

* fix: fixes
  • Loading branch information
viladimiru authored Oct 22, 2024
1 parent 5c3469a commit 80f32b0
Show file tree
Hide file tree
Showing 15 changed files with 6,511 additions and 5,368 deletions.

Large diffs are not rendered by default.

146 changes: 74 additions & 72 deletions src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.tokens
Original file line number Diff line number Diff line change
Expand Up @@ -265,75 +265,77 @@ POLICIES=264
PROFILES=265
ALLOW=266
GRANTS=267
JSON_FALSE=268
JSON_TRUE=269
IDENTIFIER=270
FLOATING_LITERAL=271
OCTAL_LITERAL=272
DECIMAL_LITERAL=273
HEXADECIMAL_LITERAL=274
STRING_LITERAL=275
ARROW=276
ASTERISK=277
BACKQUOTE=278
BACKSLASH=279
COLON=280
COMMA=281
CONCAT=282
DASH=283
DOT=284
EQ_DOUBLE=285
EQ_SINGLE=286
GE=287
GT=288
LBRACE=289
LBRACKET=290
LE=291
LPAREN=292
LT=293
NOT_EQ=294
PERCENT=295
PLUS=296
QUESTIONMARK=297
QUOTE_DOUBLE=298
QUOTE_SINGLE=299
RBRACE=300
RBRACKET=301
RPAREN=302
SEMICOLON=303
SLASH=304
UNDERSCORE=305
MULTI_LINE_COMMENT=306
SINGLE_LINE_COMMENT=307
WHITESPACE=308
'false'=268
'true'=269
'->'=276
'*'=277
'`'=278
'\\'=279
':'=280
','=281
'||'=282
'-'=283
'.'=284
'=='=285
'='=286
'>='=287
'>'=288
'{'=289
'['=290
'<='=291
'('=292
'<'=293
'%'=295
'+'=296
'?'=297
'"'=298
'\''=299
'}'=300
']'=301
')'=302
';'=303
'/'=304
'_'=305
EXCEPT=268
REVOKE=269
JSON_FALSE=270
JSON_TRUE=271
IDENTIFIER=272
FLOATING_LITERAL=273
OCTAL_LITERAL=274
DECIMAL_LITERAL=275
HEXADECIMAL_LITERAL=276
STRING_LITERAL=277
ARROW=278
ASTERISK=279
BACKQUOTE=280
BACKSLASH=281
COLON=282
COMMA=283
CONCAT=284
DASH=285
DOT=286
EQ_DOUBLE=287
EQ_SINGLE=288
GE=289
GT=290
LBRACE=291
LBRACKET=292
LE=293
LPAREN=294
LT=295
NOT_EQ=296
PERCENT=297
PLUS=298
QUESTIONMARK=299
QUOTE_DOUBLE=300
QUOTE_SINGLE=301
RBRACE=302
RBRACKET=303
RPAREN=304
SEMICOLON=305
SLASH=306
UNDERSCORE=307
MULTI_LINE_COMMENT=308
SINGLE_LINE_COMMENT=309
WHITESPACE=310
'false'=270
'true'=271
'->'=278
'*'=279
'`'=280
'\\'=281
':'=282
','=283
'||'=284
'-'=285
'.'=286
'=='=287
'='=288
'>='=289
'>'=290
'{'=291
'['=292
'<='=293
'('=294
'<'=295
'%'=297
'+'=298
'?'=299
'"'=300
'\''=301
'}'=302
']'=303
')'=304
';'=305
'/'=306
'_'=307
Loading

0 comments on commit 80f32b0

Please sign in to comment.