Dear Apache Calcite Team,
I am trying to modify some parts of the RelNode Tree in Calcite for my own
custom logic. For this, I am extending existing nodes (eg.
EnumerableAggregate etc.) and then also extending the respective rule (eg.
EnumerableAggregateRule) and overriding the respective functions in both so
that my custom node is used in the tree (logical -> custom node which is
basically an extended enumerable) instead of logical -> enumerable.

Some of the rules here (eg. EnumerableLimit) have references to Immutable
classes which are package private and I hence I am unable to extend these
(EnumerableLimitRule is itself one such example:
https://github.com/apache/calcite/blob/b9c2099ea92a575084b55a206efc5dd341c0df62/core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableLimitRule.java#L72
)

Any advice on how I can solve this problem?

Thanks & Regards,
Pranav

Reply via email to