Repository navigation
Commit f574d96
Jules Ivanic
Keep
As a keyword token, LAMBDA stopped parsing where only plain identifiers are
accepted: `CAST(a AS lambda)`, `COLLATE lambda`, `CREATE TABLE t (a lambda)`,
`ALTER TABLE t DROP COLUMN lambda`, `ALTER TABLE t RENAME lambda TO x`.
`isDuckDBLambdaAhead()` recognises `lambda name [, name ...] :` contextually,
as `isKeywordAhead()` does for other words, so no token is needed.lambda a plain identifier outside DuckDB lambdas1 parent e86fa61 commit f574d96
2 files changed
Lines changed: 45 additions & 4 deletions
File tree
- src
- main/jjtree/net/sf/jsqlparser/parser
- test/java/net/sf/jsqlparser/statement/select
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1599 | 1599 | | |
1600 | 1600 | | |
1601 | 1601 | | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
1602 | 1629 | | |
1603 | 1630 | | |
1604 | 1631 | | |
| |||
2601 | 2628 | | |
2602 | 2629 | | |
2603 | 2630 | | |
2604 | | - | |
2605 | 2631 | | |
2606 | 2632 | | |
2607 | 2633 | | |
| |||
11432 | 11458 | | |
11433 | 11459 | | |
11434 | 11460 | | |
11435 | | - | |
11436 | | - | |
| 11461 | + | |
11437 | 11462 | | |
11438 | 11463 | | |
11439 | 11464 | | |
| |||
13279 | 13304 | | |
13280 | 13305 | | |
13281 | 13306 | | |
13282 | | - | |
| 13307 | + | |
13283 | 13308 | | |
13284 | 13309 | | |
13285 | 13310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
726 | 737 | | |
727 | 738 | | |
728 | 739 | | |
729 | 740 | | |
730 | 741 | | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
731 | 747 | | |
732 | 748 | | |
0 commit comments