diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2016-12-13 17:55:38 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-12-13 17:55:38 -0800 |
commit | 3ae63b808a6f5fafa191c680eb7f73a9543e46ce (patch) | |
tree | 2e64c04a26a3ca60db3a9c31299fad96dd4e2aa9 /sql/catalyst/src/main | |
parent | ae5b2d3e46cc4c460f539c4db1688309d1cdc66a (diff) | |
download | spark-3ae63b808a6f5fafa191c680eb7f73a9543e46ce.tar.gz spark-3ae63b808a6f5fafa191c680eb7f73a9543e46ce.tar.bz2 spark-3ae63b808a6f5fafa191c680eb7f73a9543e46ce.zip |
[SPARK-18752][SQL] Follow-up: add scaladoc explaining isSrcLocal arg.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #16257 from vanzin/SPARK-18752.2.
Diffstat (limited to 'sql/catalyst/src/main')
-rw-r--r-- | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/ExternalCatalog.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/ExternalCatalog.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/ExternalCatalog.scala index 0c729648ef..5233699fac 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/ExternalCatalog.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/ExternalCatalog.scala @@ -114,6 +114,12 @@ abstract class ExternalCatalog { def listTables(db: String, pattern: String): Seq[String] + /** + * Loads data into a table. + * + * @param isSrcLocal Whether the source data is local, as defined by the "LOAD DATA LOCAL" + * HiveQL command. + */ def loadTable( db: String, table: String, @@ -122,6 +128,12 @@ abstract class ExternalCatalog { holdDDLTime: Boolean, isSrcLocal: Boolean): Unit + /** + * Loads data into a partition. + * + * @param isSrcLocal Whether the source data is local, as defined by the "LOAD DATA LOCAL" + * HiveQL command. + */ def loadPartition( db: String, table: String, |