tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hyunsik Choi <hyun...@apache.org>
Subject Re: GROUP BY CUBE implementation
Date Fri, 17 Jan 2014 02:01:09 GMT
If those semantics are widely used, we could allow Tajo to support
that semantic.

The current CUBE is incomplete. We need to rewrite the code for cube
and rollup. We are expecting that Tajo will support CUBE and ROLLUP in
next major release after 0.8.

- hyunsik

On Fri, Jan 17, 2014 at 7:58 AM, Daniel Einspanjer
<deinspanjer@gmail.com> wrote:
> I noticed that the code supports a syntax of CUBE although it isn't listed
> in the syntax documentation, and there aren't any unit tests covering it.
>
> It seems that the syntax is a bit different from what I'm used to (i.e. it
> isn't "GROUP BY foo,bar WITH CUBE", but rather something like "GROUP BY
> CUBE (foo,bar)".
>
> When I try a SQL statement with that clause, I get an array out of bounds
> when the rewriter tries to process the UNION that the CUBE created.
>
> Is this just not completely implemented code, or am I maybe just not
> invoking it correctly?
>
> Any docs or spec or tests on how to invoke it if I'm wrong would be welcome.

Mime
View raw message