Commit 76f3e3b
committed
Support qualified identifiers starting with keywords
When a keyword like SYSTEM is used as the start of a qualified name
(e.g., system.one.*), parseKeywordAsIdentifier was returning just the
keyword as a single-part identifier. Now it continues to parse DOT
sequences to build qualified identifiers and handle qualified asterisks.
Fixes tests:
- 00467_qualified_names (stmt19, stmt21)
- 00502_custom_partitioning_local (stmt17)1 parent dc5e91b commit 76f3e3b
3 files changed
Lines changed: 22 additions & 12 deletions
File tree
- parser
- testdata
- 00467_qualified_names
- 00502_custom_partitioning_local
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2749 | 2749 | | |
2750 | 2750 | | |
2751 | 2751 | | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
2752 | 2771 | | |
2753 | 2772 | | |
2754 | | - | |
| 2773 | + | |
2755 | 2774 | | |
2756 | 2775 | | |
2757 | 2776 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments