Uh oh!
There was an error while loading. Please reload this page.
[SPARK-27349][SQL] Dealing with TimeVars removed in Hive 2.x - #24277
[SPARK-27349][SQL] Dealing with TimeVars removed in Hive 2.x#24277wangyum wants to merge 6 commits into
Conversation
| // The following configurations were removed by HIVE-12164(Hive 2.0) | ||
| val removedTimeVars = Seq( | ||
| ("hive.stats.jdbc.timeout", "30s") -> TimeUnit.SECONDS, |
There was a problem hiding this comment.
SparkQA
commented
Apr 3, 2019
Test build #104227 has finished for PR 24277 at commit
|
SparkQA
commented
Apr 3, 2019
Test build #104226 has finished for PR 24277 at commit
|
attilapiros
left a comment
There was a problem hiding this comment.
What about extending a test with two more asserts checking the default values in case of an empty configuration?
Otherwise LGTM.
(Thanks for referencing the default values from Hive.)
SparkQA
commented
Apr 3, 2019
Test build #104250 has finished for PR 24277 at commit
|
| } | ||
| // The following configurations were removed by HIVE-12164(Hive 2.0) | ||
| val removedTimeVars = Seq( |
| assert(HiveUtils.formatTimeVarsForHiveClient(defaultConf)("hive.stats.jdbc.timeout") === "30") | ||
| assert(HiveUtils.formatTimeVarsForHiveClient(defaultConf)("hive.stats.retries.wait") === "3000") | ||
| def testFormatTimeVarsForHiveClient(key: String, value: String, expected: Long): Unit = { |
SparkQA
commented
Apr 4, 2019
Test build #104262 has finished for PR 24277 at commit
|
wangyum
commented
Apr 4, 2019
retest this please |
SparkQA
commented
Apr 4, 2019
Test build #104261 has finished for PR 24277 at commit
|
SparkQA
commented
Apr 4, 2019
Test build #104263 has finished for PR 24277 at commit
|
wangyum
commented
Apr 4, 2019
retest this please |
SparkQA
commented
Apr 4, 2019
Test build #104267 has finished for PR 24277 at commit
|
gatorsmile
commented
Apr 4, 2019
Thanks! Merged to master. |
What changes were proposed in this pull request?
hive.stats.jdbc.timeoutandhive.stats.retries.waitwere removed by HIVE-12164.This pr to deal with this change.
How was this patch tested?
unit tests