[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.
This commit is contained in:
WeichenXu 2016-07-19 18:48:41 -07:00 committed by Reynold Xin
parent 004e29cba5
commit 9674af6f6f

View file

@ -869,8 +869,8 @@ spark.catalog().refreshTable("my_table");
<div data-lang="python" markdown="1"> <div data-lang="python" markdown="1">
{% highlight python %} {% highlight python %}
# spark is an existing HiveContext # spark is an existing SparkSession
spark.refreshTable("my_table") spark.catalog.refreshTable("my_table")
{% endhighlight %} {% endhighlight %}
</div> </div>