calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stamatis Zampetakis <zabe...@gmail.com>
Subject Re: Can I modify the metadata for a given plan / plan node (relnode)
Date Tue, 07 May 2019 12:48:52 GMT
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 <zgolliasma@gmail.com> 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 : zgolliasma@gmail.com
> email alt:  asma.zgolli@univ-grenoble-alpes.fr
> <zgolliasma@gmail.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message