spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynold Xin <r...@databricks.com>
Subject Re: Tree for SQL Query
Date Wed, 24 Aug 2016 20:39:30 GMT
It's basically the output of the explain command.


On Wed, Aug 24, 2016 at 12:31 PM, Maciej Bryński <maciek@brynski.pl> wrote:

> Hi,
> I read this article:
> https://databricks.com/blog/2015/04/13/deep-dive-into-
> spark-sqls-catalyst-optimizer.html
>
> And I have a question. Is it possible to get / print Tree for SQL Query ?
>
> Something like this:
>
> Add(Attribute(x), Add(Literal(1), Literal(2)))
>
> Regards,
> --
> Maciek Bryński
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>
>

Mime
View raw message