You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Muhammad Gelbana <m....@gmail.com> on 2019/08/01 13:00:30 UTC

Is there a document that can help understand Calcite's code generation?

Hopefully there is something I can read to help me go through the code
generation module of Calcite because frankly it's not easy to understand.
It's an extremely powerful feature and I need to be able to use it and fix
it if I have to.

Re: Is there a document that can help understand Calcite's code generation?

Posted by Albert <zi...@gmail.com>.
the way worked for me is to run through some rather simple SQL queries.
nothing unusual though, it is really just a big block of `if else` stuff to
concatenate java code represented
by strings, which probably could be better represented using freeMarker.

On Thu, Aug 1, 2019 at 9:00 PM Muhammad Gelbana <m....@gmail.com> wrote:

> Hopefully there is something I can read to help me go through the code
> generation module of Calcite because frankly it's not easy to understand.
> It's an extremely powerful feature and I need to be able to use it and fix
> it if I have to.
>


-- 
~~~~~~~~~~~~~~~
no mistakes
~~~~~~~~~~~~~~~~~~

Re: Is there a document that can help understand Calcite's code generation?

Posted by Chunwei Lei <ch...@gmail.com>.
Hi,Muhammad.

As far as I know, there is no documents about the process of generation
module of Calcite.

Please correct me if I am wrong.


Best,
Chunwei


On Thu, Aug 1, 2019 at 9:00 PM Muhammad Gelbana <m....@gmail.com> wrote:

> Hopefully there is something I can read to help me go through the code
> generation module of Calcite because frankly it's not easy to understand.
> It's an extremely powerful feature and I need to be able to use it and fix
> it if I have to.
>