diff options
author | WeichenXu <WeichenXu123@outlook.com> | 2016-07-19 18:48:41 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-19 18:48:41 -0700 |
commit | 9674af6f6f81066139ea675de724f951bd0d49c9 (patch) | |
tree | 3b986a704043d280a9396fe55f66d9655d67848e /docs/sql-programming-guide.md | |
parent | 004e29cba518684d239d2d1661dce7c894a79f14 (diff) | |
download | spark-9674af6f6f81066139ea675de724f951bd0d49c9.tar.gz spark-9674af6f6f81066139ea675de724f951bd0d49c9.tar.bz2 spark-9674af6f6f81066139ea675de724f951bd0d49c9.zip |
[SPARK-16568][SQL][DOCUMENTATION] update sql programming guide refreshTable API in python code
## What changes were proposed in this pull request?
update `refreshTable` API in python code of the sql-programming-guide.
This API is added in SPARK-15820
## How was this patch tested?
N/A
Author: WeichenXu <WeichenXu123@outlook.com>
Closes #14220 from WeichenXu123/update_sql_doc_catalog.
Diffstat (limited to 'docs/sql-programming-guide.md')
-rw-r--r-- | docs/sql-programming-guide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index 71f3ee40a3..3af935a952 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -869,8 +869,8 @@ spark.catalog().refreshTable("my_table"); <div data-lang="python" markdown="1"> {% highlight python %} -# spark is an existing HiveContext -spark.refreshTable("my_table") +# spark is an existing SparkSession +spark.catalog.refreshTable("my_table") {% endhighlight %} </div> |