from sqlglot.optimizer.optimizer import RULES, optimize from sqlglot.optimizer.schema import Schema