Skip to content

Commit

Permalink
Resorts to SQL for Python metadata refreshing snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Jun 23, 2015
1 parent 756e660 commit 4c9847d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sql-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ for (teenName in collect(teenNames)) {

{% highlight python %}
# sqlContext is an existing HiveContext
sqlContext.refreshTable("my_table")
sqlContext.sql("REFRESH TABLE my_table")
{% endhighlight %}

</div>
Expand Down

0 comments on commit 4c9847d

Please sign in to comment.