Skip to content

[Refactoring Plan] #78

@baiqiushi

Description

@baiqiushi

P1 Enriching test cases

P2 Refactoring the engine code to use internal new AST data structure

  • [1] Define the new AST data structure, e.g., class node: {type:= {column, table, literal, operator}, alias: str, name: str, ...}
  • [2] SQL plain text -> mo_sql_parser -> qb_parser -> new AST structure -> qb_formatter -> mo_sql_formatter -> SQL plain text
  • [3] Refactor query_rewriter;
  • [4] Refactor rule_generator;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions