spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-16756) Add `sql` function to LogicalPlan and `NonSQLPlan` trait
Date Wed, 27 Jul 2016 20:41:20 GMT

    [ https://issues.apache.org/jira/browse/SPARK-16756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396331#comment-15396331
] 

Reynold Xin commented on SPARK-16756:
-------------------------------------

This makes sense. Are there flags we might want to pass into sql generation?


> Add `sql` function to LogicalPlan and `NonSQLPlan` trait
> --------------------------------------------------------
>
>                 Key: SPARK-16756
>                 URL: https://issues.apache.org/jira/browse/SPARK-16756
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Dongjoon Hyun
>
> Like `Expression`, this issue adds `sql` function for `LogicalPlan` and `NonSQLPlan`
trait. The method will be `abstract` method. All logical plan should implement that or use
trait `NonSQLPlan` explicitly.
> {code}
> /**
>  * Returns SQL representation of this plan. For the plans extending [[NonSQLPlan]],
>  * this method may return an arbitrary user facing string.
>  */
> def sql: String
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message