xzh_dz created CALCITE-4395:
-------------------------------
Summary: Add an interface in RelOptMaterializations to allow
registering normalization rules
Key: CALCITE-4395
URL: https://issues.apache.org/jira/browse/CALCITE-4395
Project: Calcite
Issue Type: Wish
Reporter: xzh_dz
In the current framework of materialized recognition, the commonly used
relational algebra materialized view recognition algorithm has been
implemented, but in specific scenarios, users need to customize the algorithm
of materialized view recognition to enhance the ability of materialized view
recognition. The algorithm of user-defined materialized view recognition has
been implemented here[1]. In addition, the ability of normalization is a very
important point before materialized recognition. Normalization can simplify the
difficulty of materialized view recognition. Currently, the ability of
normalization based on relation algebra can not well support the needs of
users. Users need to be able to customize normalization rules, which may be
equivalent transformation of some relational algebra. Therefore, we should
allow users to customize some normalization algorithms, enhance the
normalization ability before the recognition of materialized views.
[1][Add an interface in RelOptMaterializations to allow registering
UnifyRule|https://github.com/apache/calcite/pull/2094]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)