Skip to content
Snippets Groups Projects
  • Jeff Zhang's avatar
    898cb652
    [SPARK-15803] [PYSPARK] Support with statement syntax for SparkSession · 898cb652
    Jeff Zhang authored
    ## What changes were proposed in this pull request?
    
    Support with statement syntax for SparkSession in pyspark
    
    ## How was this patch tested?
    
    Manually verify it. Although I can add unit test for it, it would affect other unit test because the SparkContext is stopped after the with statement.
    
    Author: Jeff Zhang <zjffdu@apache.org>
    
    Closes #13541 from zjffdu/SPARK-15803.
    898cb652
    History
    [SPARK-15803] [PYSPARK] Support with statement syntax for SparkSession
    Jeff Zhang authored
    ## What changes were proposed in this pull request?
    
    Support with statement syntax for SparkSession in pyspark
    
    ## How was this patch tested?
    
    Manually verify it. Although I can add unit test for it, it would affect other unit test because the SparkContext is stopped after the with statement.
    
    Author: Jeff Zhang <zjffdu@apache.org>
    
    Closes #13541 from zjffdu/SPARK-15803.