Greetings,

I'm new to Apache Calcite. I have a question about a few things. Before I
ask, I want to say this is a great project.

I have a requirement where I have to store data in a compressed form in
HBase. And I'm going through the Apache Phoenix driver to interact with
HBase and I'm pushing the compressed records into HBase using the Phoenix
jdbc driver by writing a small java program.

However, the read requirement of this data is a little different. The data
needs to be uncompressed and returned. However, the end user can only use a
jdbc driver to interface with the data.

I looked into the Phoenix UDF approach, but it has limited support.

It looks like the above can be implemented using something like a proxy
jdbc driver. Which is where Apache Calcite can help.

I got the latest Calcite code and built it and debugged the samples to a
good extent. However, I have a few questions before I take this approach.

If I expose these tables as a TranslatableTable or a FilterableTable, can I
implement relational operators? The reason is I want to be able to access
the query the user issued so that I can limit the data I'm fetching from
Phoenix and uncompress it.

I looked into the various calcite core test examples about RelBuilders.
But, I don't yet understand how to connect these builders to the
Translatable or Filterable table implementation.

My apologies if I'm not asking the right question.

Regards,
Vamsi Thattikota.

Reply via email to