Skip to content
Snippets Groups Projects
  • Zheng RuiFeng's avatar
    127bf1bb
    [SPARK-15031][EXAMPLE] Use SparkSession in examples · 127bf1bb
    Zheng RuiFeng authored
    ## What changes were proposed in this pull request?
    Use `SparkSession` according to [SPARK-15031](https://issues.apache.org/jira/browse/SPARK-15031)
    
    `MLLLIB` is not recommended to use now, so examples in `MLLIB` are ignored in this PR.
    `StreamingContext` can not be directly obtained from `SparkSession`, so example in `Streaming` are ignored too.
    
    cc andrewor14
    
    ## How was this patch tested?
    manual tests with spark-submit
    
    Author: Zheng RuiFeng <ruifengz@foxmail.com>
    
    Closes #13164 from zhengruifeng/use_sparksession_ii.
    127bf1bb
    History
    [SPARK-15031][EXAMPLE] Use SparkSession in examples
    Zheng RuiFeng authored
    ## What changes were proposed in this pull request?
    Use `SparkSession` according to [SPARK-15031](https://issues.apache.org/jira/browse/SPARK-15031)
    
    `MLLLIB` is not recommended to use now, so examples in `MLLIB` are ignored in this PR.
    `StreamingContext` can not be directly obtained from `SparkSession`, so example in `Streaming` are ignored too.
    
    cc andrewor14
    
    ## How was this patch tested?
    manual tests with spark-submit
    
    Author: Zheng RuiFeng <ruifengz@foxmail.com>
    
    Closes #13164 from zhengruifeng/use_sparksession_ii.