Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-31407][SQL][TEST] TestHiveQueryExecution should respect databa…
…se when creating table ### What changes were proposed in this pull request? In `TestHiveQueryExecution`, if we detect a database in the referenced table, we should create the table under that database. ### Why are the changes needed? This fix the test `Fix hive/SQLQuerySuite.derived from Hive query file: drop_database_removes_partition_dirs.q` which currently only pass when we run it with the whole test suit but fail when run it separately. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Run the test separately and together with the whole test suite. Closes #28177 from Ngone51/fix_derived. Authored-by: yi.wu <yi.wu@databricks.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
- Loading branch information