aboutsummaryrefslogtreecommitdiff
path: root/sql/catalyst/src
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-04-22 01:31:13 -0700
committerReynold Xin <rxin@databricks.com>2016-04-22 01:31:13 -0700
commit284b15d2fbff7c0c3ffe8737838071d366ea5742 (patch)
treecad712bbf0674f8b44895f2af61098d7f81b57c3 /sql/catalyst/src
parent80127935df06a829b734cafc2447aa1f3df40288 (diff)
downloadspark-284b15d2fbff7c0c3ffe8737838071d366ea5742.tar.gz
spark-284b15d2fbff7c0c3ffe8737838071d366ea5742.tar.bz2
spark-284b15d2fbff7c0c3ffe8737838071d366ea5742.zip
[SPARK-14826][SQL] Remove HiveQueryExecution
## What changes were proposed in this pull request? This patch removes HiveQueryExecution. As part of this, I consolidated all the describe commands into DescribeTableCommand. ## How was this patch tested? Should be covered by existing tests. Author: Reynold Xin <rxin@databricks.com> Closes #12588 from rxin/SPARK-14826.
Diffstat (limited to 'sql/catalyst/src')
-rw-r--r--sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala
index 5393cb8ab3..f84c6592c6 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala
@@ -76,7 +76,7 @@ object DateTimeUtils {
}
// `SimpleDateFormat` is not thread-safe.
- private val threadLocalTimestampFormat = new ThreadLocal[DateFormat] {
+ val threadLocalTimestampFormat = new ThreadLocal[DateFormat] {
override def initialValue(): SimpleDateFormat = {
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
}