Jeff Zhang created SPARK-15803: ---------------------------------- Summary: 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
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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org