databend icon indicating copy to clipboard operation
databend copied to clipboard

Feature: Use ScalarVisitor to refactor codes in `optimizer`

Open sundy-li opened this issue 11 months ago • 1 comments

Summary

Description for this feature.

There are many places that use match scalar_expr to replace/find scalar_exprs, better use ScalarVisitor to improve these codes.

  1. fn replace_predicate
  2. fn replace_predicate_column
  3. fn collect_columns_impl
  4. ...

sundy-li avatar Feb 28 '24 08:02 sundy-li

Got. Now I see privilege part code. Tomorrow I will do this issue.

TCeason avatar Feb 28 '24 08:02 TCeason

https://github.com/datafuselabs/databend/pull/15215

TCeason avatar Aug 12 '24 01:08 TCeason