Hi Asma, Apologies for the late reply.
Yes it is possible to add new metadata to Calcite. You can find some examples in RelMetadataTest [1]. Best, Stamatis [1] https://github.com/apache/calcite/blob/da4970e647d58b2989077688d1e19747fd459d14/core/src/test/java/org/apache/calcite/test/RelMetadataTest.java#L1006 On Mon, Mar 11, 2019 at 10:53 PM asma zgolli <[email protected]> wrote: > Hello, > > Is it possible to add new metadata to calcite using the metadata provider > or the metadata query method in the relnode class ? > > If it's not possible, can I for example access the metadata data > catalog? my use case consists of adding more statistics/statistics values > that are computed elsewhere in order to use those statistics in the > cost-based optimization. > > Thank you very much for your answers > yours sincerely, > Asma ZGOLLI > > PhD student in data engineering - computer science > Email : [email protected] > email alt: [email protected] > <[email protected]> >
