aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/src/test/resources
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-04-20 17:56:31 -0700
committerReynold Xin <rxin@databricks.com>2016-04-20 17:56:31 -0700
commit24f338ba7b34df493dd49bbc354d08f5e3afbb85 (patch)
treef44317480ee005aaa9b29a2ece29b2c24744ed06 /sql/hive/src/test/resources
parentf47dbf27fa034629fab12d0f3c89ab75edb03f86 (diff)
downloadspark-24f338ba7b34df493dd49bbc354d08f5e3afbb85.tar.gz
spark-24f338ba7b34df493dd49bbc354d08f5e3afbb85.tar.bz2
spark-24f338ba7b34df493dd49bbc354d08f5e3afbb85.zip
[SPARK-14775][SQL] Remove TestHiveSparkSession.rewritePaths
## What changes were proposed in this pull request? The path rewrite in TestHiveSparkSession is pretty hacky. I think we can remove those complexity and just do a string replacement when we read the query files in. This would remove the overloading of runNativeSql in TestHive, which will simplify the removal of Hive specific variable substitution. ## How was this patch tested? This is a small test refactoring to simplify test infrastructure. Author: Reynold Xin <rxin@databricks.com> Closes #12543 from rxin/SPARK-14775.
Diffstat (limited to 'sql/hive/src/test/resources')
-rw-r--r--sql/hive/src/test/resources/hive-test-path-helper.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/hive/src/test/resources/hive-test-path-helper.txt b/sql/hive/src/test/resources/hive-test-path-helper.txt
new file mode 100644
index 0000000000..356b131ea1
--- /dev/null
+++ b/sql/hive/src/test/resources/hive-test-path-helper.txt
@@ -0,0 +1 @@
+This file is here so we can match on it and find the path to the current folder.