Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the definition of the scope in the rewriter #472

Closed
grieve54706 opened this issue Feb 26, 2024 · 0 comments
Closed

Modify the definition of the scope in the rewriter #472

grieve54706 opened this issue Feb 26, 2024 · 0 comments

Comments

@grieve54706
Copy link
Contributor

grieve54706 commented Feb 26, 2024

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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants