Skip to content

Commit

Permalink
Address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Dec 29, 2016
1 parent 99337cd commit dce40b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sql-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ By default `saveAsTable` will create a "managed table", meaning that the locatio
be controlled by the metastore. Managed tables will also have their data deleted automatically
when a table is dropped.

Currently, `saveAsTable` does not expose an API supporting the creation of an "external table" from a `DataFrame`,
however. This functionality can be achieved by providing a `path` option to the `DataFrameWriter` with `path` as the key
Currently, `saveAsTable` does not expose an API supporting the creation of an "external table" from a `DataFrame`.
However, this functionality can be achieved by providing a `path` option to the `DataFrameWriter` with `path` as the key
and location of the external table as its value (a string) when saving the table with `saveAsTable`. When an External table
is dropped only its metadata is removed.

Expand Down

0 comments on commit dce40b5

Please sign in to comment.