Commit 2bdbc39
Support single-quoted identifiers and bare * in select list
- Accept StringLiteral in the identifier parser rule so QuestDB single-quoted
identifiers (FROM 'trades', AS 'alias') parse correctly and roundtrip through toSql
- Allow bare * anywhere in the select list (SELECT amount, * FROM t),
not only as the first item
- Suppress autocomplete inside both single- and double-quoted strings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fc30a66 commit 2bdbc39
File tree
5 files changed
+69
-5
lines changed- src
- autocomplete
- parser
- tests
5 files changed
+69
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
487 | 491 | | |
488 | 492 | | |
489 | 493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
2286 | 2287 | | |
2287 | 2288 | | |
2288 | 2289 | | |
| 2290 | + | |
2289 | 2291 | | |
2290 | 2292 | | |
2291 | 2293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
| 613 | + | |
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| |||
3881 | 3883 | | |
3882 | 3884 | | |
3883 | 3885 | | |
| 3886 | + | |
| 3887 | + | |
3884 | 3888 | | |
3885 | 3889 | | |
3886 | 3890 | | |
| 3891 | + | |
3887 | 3892 | | |
3888 | 3893 | | |
3889 | 3894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
457 | 462 | | |
458 | 463 | | |
459 | 464 | | |
| |||
3732 | 3737 | | |
3733 | 3738 | | |
3734 | 3739 | | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
3735 | 3745 | | |
3736 | 3746 | | |
3737 | 3747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3343 | 3343 | | |
3344 | 3344 | | |
3345 | 3345 | | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
3346 | 3389 | | |
3347 | 3390 | | |
3348 | 3391 | | |
| |||
0 commit comments