embucket-labs icon indicating copy to clipboard operation
embucket-labs copied to clipboard

engine: Cast rule more correct impl (cast -> to_*)

Open DanCodedThis opened this issue 4 months ago • 0 comments

Right now, the cast rule is done as a Logical AnalyzerRule, but it may be done as any of the following (decide which is more correct):

  • As is
  • Logical OptimizerRule
  • Physical rules
  • sql_cast_to_expr
  • TreeNodeRewriter
  • Some other way (Change the logical expression itself in the planner?)

DanCodedThis avatar Jul 28 '25 12:07 DanCodedThis