Skip to content

Commit bf4de3a

Browse files
authored
[clean](planner)Eliminate Analyzer dependencies in Expr and derived classes (apache#53011)
- Delete all Analyzer-related methods from Expr hierarchy and clean up their usages in dependent classes - clean unuse code in Expr and planNode
1 parent a092c68 commit bf4de3a

File tree

74 files changed

+3
-12786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+3
-12786
lines changed

fe/fe-core/src/main/cup/sql_parser.cup

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,6 @@ nonterminal List<ImportColumnDesc> import_column_descs;
733733
// unsupported statement
734734
nonterminal opt_with_consistent_snapshot, opt_work, opt_chain, opt_release;
735735

736-
nonterminal ValueList value_clause;
737-
738736
// No return.
739737
nonterminal describe_command, opt_full, opt_inner, opt_outer, from_or_in, keys_or_index, opt_storage, opt_wild_where,
740738
charset, equal, transaction_characteristics, isolation_level,
@@ -4497,18 +4495,6 @@ set_expr_or_default ::=
44974495
:}
44984496
;
44994497

4500-
value_clause ::=
4501-
KW_VALUES row_value:value
4502-
{:
4503-
RESULT = new ValueList(value);
4504-
:}
4505-
| value_clause:valueClause COMMA row_value:value
4506-
{:
4507-
valueClause.addRow(value);
4508-
RESULT = valueClause;
4509-
:}
4510-
;
4511-
45124498
row_value ::=
45134499
LPAREN opt_values:values RPAREN
45144500
{:
@@ -4517,11 +4503,6 @@ row_value ::=
45174503
;
45184504

45194505
opt_values ::=
4520-
values:valueList
4521-
{:
4522-
RESULT = valueList;
4523-
:}
4524-
|
45254506
{:
45264507
RESULT = Lists.newArrayList();
45274508
:}
@@ -4532,11 +4513,6 @@ values ::=
45324513
{:
45334514
RESULT = Lists.newArrayList(value);
45344515
:}
4535-
| values:valueList COMMA expr_or_default:value
4536-
{:
4537-
valueList.add(value);
4538-
RESULT = valueList;
4539-
:}
45404516
;
45414517

45424518
expr_or_default ::=

0 commit comments

Comments
 (0)