-
- Downloads
[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.
Showing
- sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala 0 additions, 18 deletions.../main/scala/org/apache/spark/sql/hive/test/TestHive.scala
- sql/hive/src/test/resources/hive-test-path-helper.txt 1 addition, 0 deletionssql/hive/src/test/resources/hive-test-path-helper.txt
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveComparisonTest.scala 13 additions, 1 deletion.../apache/spark/sql/hive/execution/HiveComparisonTest.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQueryFileTest.scala 3 additions, 3 deletions...g/apache/spark/sql/hive/execution/HiveQueryFileTest.scala
Loading
Please register or sign in to comment