[
https://issues.apache.org/jira/browse/CALCITE-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiatao Tao updated CALCITE-4586:
--------------------------------
Description:
Hi, piglet.PigRelBuilder#create, we set Hook.REL_BUILDER_SIMPLIFY to false:
This may be not a suitable place to set "Hook.REL_BUILDER_SIMPLIFY", we should
use this in user code, not in the frame code, cuz once we done this in frame
code, we can not change this config anymore.
This change may be perceived if you are using piglet.PigRelBuilder,
it is expected that the change will not be large and should be positive, cuz
the UTs are almost unchanged and all passed.
You can set
was:
Hi, in PigRelBuilder#create, we set Hook.REL_BUILDER_SIMPLIFY to false:
{{}}
I have two doubts:
1. Why we set FALSE here cuz its default value is true;
2. This maybe not the suitable place to set "Hook.REL_BUILDER_SIMPLIFY", IMO
we should use this in user code, not in the frame code, cuz once we done this
in frame code, we can not change this config anymore.
> In piglet, allow creating a PigRelBuilder with custom "config.simplify()"
> -------------------------------------------------------------------------
>
> Key: CALCITE-4586
> URL: https://issues.apache.org/jira/browse/CALCITE-4586
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Jiatao Tao
> Assignee: Jiatao Tao
> Priority: Critical
> Fix For: 1.27.0
>
>
> Hi, piglet.PigRelBuilder#create, we set Hook.REL_BUILDER_SIMPLIFY to false:
> This may be not a suitable place to set "Hook.REL_BUILDER_SIMPLIFY", we
> should use this in user code, not in the frame code, cuz once we done this in
> frame code, we can not change this config anymore.
>
> This change may be perceived if you are using piglet.PigRelBuilder,
> it is expected that the change will not be large and should be positive, cuz
> the UTs are almost unchanged and all passed.
>
> You can set
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)