Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.0
-
None
-
None
Description
The ParsedStatement needs to be pattern matched in two analyzer rules and results to a lot of duplicated code.
The new v2 command framework defines a few basic logical plan nodes such as UnresolvedTable, and we only need to resolve these basic nodes, and pattern match v2 commands only once in the rule `ResolveSessionCatalog` for v1 command fallback.
We should migrate all the ParsedStatement to v2 command framework.