6, 2019 at 7:08 AM Haisheng Yuan
> > > wrote:
> > >
> > >> Calcite has the rule that does the work. But you can't remove the
> group
> > by
> > >> clause if the constant is the only group key. The semantic is
> different
> > >> without group key. Try it on empty relation, you will see
gt;> without group key. Try it on empty relation, you will see the
> difference.
> >>
> >>
> >>
> >>
> >>
> >> Thanks~
> >> Haisheng
> >> Yuan--
> >
without group key. Try it on empty relation, you will see the difference.
>>
>>
>>
>>
>>
>> Thanks~
>> Haisheng
>> Yuan------
>> 发件人:Krzysztof Zarzycki
>> 日 期:2019年06月26日 21:52:41
>> 收件人:
>> 主 题:Modify Calcite Planner in
antic is different
> without group key. Try it on empty relation, you will see the difference.
>
>
>
>
>
> Thanks~
> Haisheng
> Yuan--
> 发件人:Krzysztof Zarzycki
> 日 期:2019年06月26日 21:52:41
> 收件人
--
发件人:Krzysztof Zarzycki
日 期:2019年06月26日 21:52:41
收件人:
主 题:Modify Calcite Planner in Hive to remove GROUP BY
Hello,
While the question I have might look like regards to Hive, I believe is
more about Calcite. I need to add a Calcite plan rule to Hive, that removes
"Group by&qu
Hello,
While the question I have might look like regards to Hive, I believe is
more about Calcite. I need to add a Calcite plan rule to Hive, that removes
"Group by" clause when it groups by some constant value (GROUP BY TRUE more
precisely). As far as I believe, the query semantically is the