like Haisheng mentioned, it is certainly debuggable, although not as
convenient as plain java code.
my understanding is that, the java code generation is merely a
demonstration of the physical plan implementation.
there are all kinds of ways to implement the logical plan, java code is
merely a `helloworld` of that. you can see many adapters does that
differently.
On Thu, May 14, 2020 at 2:54 AM 徐泷泽 <15258826527@qq.com> wrote:
> Hi buddies !
> Our team is working on developing a mulit data source sql engine use
> Calcite.But something confuse us, why calcite generate Java code
> dynamicly on SQL query, it seen have performance issues in my opinion.
> And building dynamic code object is very hard,the code is unreadable and
> hard to understood, futhermore we can not debug it.
>
>
> i wander why it was designed like that, what advantage of that .we
> search on internet,
> but nobody can realy explain it(may be we not goot at search, and poor
> english).
> so anybody can tell me the history of this, or give us some article.
>
>
> applogize for my poor english, hope you know what i'm taking aboult.
> thank you very very very much !
--
~~~~~~~~~~~~~~~
no mistakes
~~~~~~~~~~~~~~~~~~
|