aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/compatibility/src/test/scala
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-04-25 16:20:57 -0700
committerReynold Xin <rxin@databricks.com>2016-04-25 16:20:57 -0700
commitf36c9c83798877256efa1447a6b9be5aa47a7e87 (patch)
treee5b06cc8944e34dd1193793bf706258441e599f2 /sql/hive/compatibility/src/test/scala
parent34336b6250d99bcf009b082cbf83f326d6b00074 (diff)
downloadspark-f36c9c83798877256efa1447a6b9be5aa47a7e87.tar.gz
spark-f36c9c83798877256efa1447a6b9be5aa47a7e87.tar.bz2
spark-f36c9c83798877256efa1447a6b9be5aa47a7e87.zip
[SPARK-14888][SQL] UnresolvedFunction should use FunctionIdentifier
## What changes were proposed in this pull request? This patch changes UnresolvedFunction and UnresolvedGenerator to use a FunctionIdentifier rather than just a String for function name. Also changed SessionCatalog to accept FunctionIdentifier in lookupFunction. ## How was this patch tested? Updated related unit tests. Author: Reynold Xin <rxin@databricks.com> Closes #12659 from rxin/SPARK-14888.
Diffstat (limited to 'sql/hive/compatibility/src/test/scala')
-rw-r--r--sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala b/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
index 3e97edb67e..01b24d2f7e 100644
--- a/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
+++ b/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
@@ -74,7 +74,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter {
TestHive.setConf(HiveUtils.CONVERT_METASTORE_ORC, originalConvertMetastoreOrc)
TestHive.sessionState.functionRegistry.restore()
- // For debugging dump some statistics about how much time was spent in various optimizer rules.
+ // For debugging dump some statistics about how much time was spent in various optimizer rules
logWarning(RuleExecutor.dumpTimeSpent())
} finally {
super.afterAll()