Upgrade calcite version

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

Upgrade calcite version

laughing.sheng@qq.com
Hi,
I want to upgrade calcite to 1.22 in the flink branch that fork from apache release 1.9. 
Can community give me some suggestion.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade calcite version

Danny Chan-2
Hi Sheng ~

It is a hard work to upgrade Calcite version because that means you need to:

- Fix all the bug introduced by the new planner
- Fix all the logical plan to have correct semantics
- Replace the deprecate APIs to new

In order to achieve this, you need to have good knowledge of Calcite basic
and SQL planning (the relational algebra) that really few people have,
so i would not suggest to do that at all for yourself.

What is the purpose to must upgrade Calcite, can you share something ~

Best,
Danny Chan


盛森林 <[hidden email]> 于2021年2月4日周四 下午10:47写道:

> Hi,
> I want to upgrade calcite to 1.22 in the flink branch that fork from
> apache release 1.9.&nbsp;
> Can community give me some suggestion.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade calcite version

Jingsong Li
Hi,

Yes, as Danny said, it is very hard work...

A suggestion is that you can cherry-pick some bugfixs from the new Calcite
version to your own internal Calcite branch, if you just want to fix some
bugs.

Best,
Jingsong

On Thu, Mar 11, 2021 at 2:28 PM Danny Chan <[hidden email]> wrote:

> Hi Sheng ~
>
> It is a hard work to upgrade Calcite version because that means you need
> to:
>
> - Fix all the bug introduced by the new planner
> - Fix all the logical plan to have correct semantics
> - Replace the deprecate APIs to new
>
> In order to achieve this, you need to have good knowledge of Calcite basic
> and SQL planning (the relational algebra) that really few people have,
> so i would not suggest to do that at all for yourself.
>
> What is the purpose to must upgrade Calcite, can you share something ~
>
> Best,
> Danny Chan
>
>
> 盛森林 <[hidden email]> 于2021年2月4日周四 下午10:47写道:
>
>> Hi,
>> I want to upgrade calcite to 1.22 in the flink branch that fork from
>> apache release 1.9.&nbsp;
>> Can community give me some suggestion.
>
>

--
Best, Jingsong Lee