-
- Downloads
[TEST] Load test table based on case sensitivity
## What changes were proposed in this pull request? It is strange that we will get "table not found" error if **the first sql** uses upper case table names, when developers write tests with `TestHiveSingleton`, **although case insensitivity**. This is because in `TestHiveQueryExecution`, test tables are loaded based on exact matching instead of case sensitivity. ## How was this patch tested? Added a new test case. Author: Zhenhua Wang <wzh_zju@163.com> Closes #18504 from wzhfy/testHive.
Showing
- sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala 6 additions, 1 deletion.../main/scala/org/apache/spark/sql/hive/test/TestHive.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/TestHiveSuite.scala 45 additions, 0 deletions.../test/scala/org/apache/spark/sql/hive/TestHiveSuite.scala
Loading
Please register or sign in to comment