aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src/main
diff options
context:
space:
mode:
authorXiao Li <gatorsmile@gmail.com>2017-02-24 23:03:59 -0800
committerWenchen Fan <wenchen@databricks.com>2017-02-24 23:03:59 -0800
commit4cb025afafe63d5871356d9dc38d58c1df0da996 (patch)
treeec55bc8784ca293e0862cdb9dc1e461aa9b7a04d /sql/core/src/main
parent1b9ba258e086e2ba89a4f35a54106e2f8a38b525 (diff)
downloadspark-4cb025afafe63d5871356d9dc38d58c1df0da996.tar.gz
spark-4cb025afafe63d5871356d9dc38d58c1df0da996.tar.bz2
spark-4cb025afafe63d5871356d9dc38d58c1df0da996.zip
[SPARK-19735][SQL] Remove HOLD_DDLTIME from Catalog APIs
### What changes were proposed in this pull request? As explained in Hive JIRA https://issues.apache.org/jira/browse/HIVE-12224, HOLD_DDLTIME was broken as soon as it landed. Hive 2.0 removes HOLD_DDLTIME from the API. In Spark SQL, we always set it to FALSE. Like Hive, we should also remove it from our Catalog APIs. ### How was this patch tested? N/A Author: Xiao Li <gatorsmile@gmail.com> Closes #17063 from gatorsmile/removalHoldDDLTime.
Diffstat (limited to 'sql/core/src/main')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala
index d646a215c3..49407b44d7 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala
@@ -312,7 +312,6 @@ case class LoadDataCommand(
loadPath.toString,
partition.get,
isOverwrite,
- holdDDLTime = false,
inheritTableSpecs = true,
isSrcLocal = isLocal)
} else {
@@ -320,7 +319,6 @@ case class LoadDataCommand(
targetTable.identifier,
loadPath.toString,
isOverwrite,
- holdDDLTime = false,
isSrcLocal = isLocal)
}