You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2016/06/18 05:58:05 UTC

[jira] [Resolved] (SPARK-15803) Support with statement syntax for SparkSession

     [ https://issues.apache.org/jira/browse/SPARK-15803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davies Liu resolved SPARK-15803.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13541
[https://github.com/apache/spark/pull/13541]

> Support with statement syntax for SparkSession
> ----------------------------------------------
>
>                 Key: SPARK-15803
>                 URL: https://issues.apache.org/jira/browse/SPARK-15803
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 2.0.0
>            Reporter: Jeff Zhang
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> It would be nice to support with statement syntax for SparkSession like following
> {code}
> with SparkSession.builder.(...).getOrCreate() as session:
>   session.sql("show tables").show()
> {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