Calcite lattice framework

Hi Dremians,
There is the lattice framework available in Calcite:


Dremio provides so called reflections and queries can be rewritten to utilize them.
However, reflections must be defined manually.
Calcite can suggest lattices automagically based on physical statistics and queries executed in the past.

Are you utilizing the lattice framework e.g. in reflections in any way?
If I implement my own framework utilizing lattices, would it be possible to integrate it into Dremio?

Regards

Jan