Commit cb4c3e5
[SQL] Use HiveContext's sessionState in HiveMetastoreCatalog.hiveDefaultTableFilePath
`client.getDatabaseCurrent` uses SessionState's local variable which can be an issue.
Author: Yin Huai <[email protected]>
Closes #4355 from yhuai/defaultTablePath and squashes the following commits:
84a29e5 [Yin Huai] Use HiveContext's sessionState instead of using SessionState's thread local variable.
(cherry picked from commit 548c9c2)
Signed-off-by: Michael Armbrust <[email protected]>1 parent 513bb2c commit cb4c3e5
File tree
1 file changed
+2
-1
lines changed- sql/hive/src/main/scala/org/apache/spark/sql/hive
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
0 commit comments