wren-engine icon indicating copy to clipboard operation
wren-engine copied to clipboard

Modify the definition of the scope in the rewriter

Open grieve54706 opened this issue 1 year ago • 0 comments

We need to re-definiton the scope for the MDL. WITH is not in the MDL scope, so getColumnType will be failed in the ExpressionTypeAnalyzer.

Like this case

  • TestAllRulesRewrite.testAccioNoRewrite("with normalCte as (select id, name from normalTable) select id, name from normalCte")

grieve54706 avatar Feb 26 '24 10:02 grieve54706