Hi, currently, the Simple SQL Parser of SQLContext is quite weak, and doesn’t
support the rollup, but you can check the code
https://github.com/apache/spark/pull/5080/ , which aimed to add the support,
just in case you can patch it in your own branch.
In Spark 2.0, the simple SQL Parser will
Just sent out a PR[1] to support cube/rollup as function, it works
with both SQLContext and HiveContext.
https://github.com/apache/spark/pull/10522/files
On Tue, Dec 29, 2015 at 9:35 PM, Yi Zhang wrote:
> Hi Hao,
>
> Thanks. I'll take a look at it.
>
>
> On
Hi Hao,
Thanks. I'll take a look at it.
On Wednesday, December 30, 2015 12:47 PM, "Cheng, Hao"
wrote:
#yiv7928789615 #yiv7928789615 -- _filtered #yiv7928789615
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv7928789615