DataMap Interface requires `IndexColumns` as Input

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DataMap Interface requires `IndexColumns` as Input

skyprophet
Hi,

Datamap API currently miss an important input parameter `IndexColumns`. It is common that we only want to implement one type of DataMap but can apply to different data and different column set. In PR 1399, there are no specified index columns. I think it would be nice to include that in the API.

Thanks,
Dong
Reply | Threaded
Open this post in threaded view
|

Re: DataMap Interface requires `IndexColumns` as Input

ravipesala
Hi,

Indexed columns on which datamap is created is present in DataMapFactory.
You can check getMeta method.  By using the filter expression tree during
pruning we can get the filter columns and prune the related datamap.
Please don't refer the PR 1399 yet as it is still incomplete and many
things will change in it.
We are again updating the DataMap interfaces to support FG for storing &
retrieving rowid tuples from datamap.Soon will add proper example for the
same.

Regards,
Ravindra.

On 9 October 2017 at 23:22, Dong Xie <[hidden email]> wrote:

> Hi,
>
> Datamap API currently miss an important input parameter `IndexColumns`. It
> is common that we only want to implement one type of DataMap but can apply
> to different data and different column set. In PR 1399, there are no
> specified index columns. I think it would be nice to include that in the
> API.
>
> Thanks,
> Dong




--
Thanks & Regards,
Ravi