You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2019/01/16 15:24:01 UTC

[spark] branch master updated: [MINOR][PYTHON] Fix SQLContext to SparkSession in Python API main page

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new e92088d  [MINOR][PYTHON] Fix SQLContext to SparkSession in Python API main page
e92088d is described below

commit e92088de4d6755f975eb8b44b4d75b81e5a0720e
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Wed Jan 16 23:23:36 2019 +0800

    [MINOR][PYTHON] Fix SQLContext to SparkSession in Python API main page
    
    ## What changes were proposed in this pull request?
    
    This PR proposes to fix deprecated `SQLContext` to `SparkSession` in Python API main page.
    
    **Before:**
    
    ![screen shot 2019-01-16 at 5 30 19 pm](https://user-images.githubusercontent.com/6477701/51239583-bac82f80-19b4-11e9-9129-8dae2c23ec79.png)
    
    **After:**
    
    ![screen shot 2019-01-16 at 5 29 54 pm](https://user-images.githubusercontent.com/6477701/51239577-b734a880-19b4-11e9-8539-592cb772168d.png)
    
    ## How was this patch tested?
    
    Manually checked the doc after building it.
    I also checked by `grep -r "SQLContext"` and looks this is the only instance left.
    
    Closes #23565 from HyukjinKwon/minor-doc-change.
    
    Authored-by: Hyukjin Kwon <gu...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 python/docs/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/docs/index.rst b/python/docs/index.rst
index 421c8de..0e7b623 100644
--- a/python/docs/index.rst
+++ b/python/docs/index.rst
@@ -37,7 +37,7 @@ Core classes:
 
     A Discretized Stream (DStream), the basic abstraction in Spark Streaming.
 
-    :class:`pyspark.sql.SQLContext`
+    :class:`pyspark.sql.SparkSession`
 
     Main entry point for DataFrame and SQL functionality.
 


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