We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7d636 commit 2d44ffdCopy full SHA for 2d44ffd
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
@@ -237,15 +237,15 @@ private[spark] object HiveUtils extends Logging {
237
}
238
239
// The following configurations were removed by HIVE-12164(Hive 2.0)
240
- val removedTimeVars = Seq(
+ val hardcodingTimeVars = Seq(
241
("hive.stats.jdbc.timeout", "30s") -> TimeUnit.SECONDS,
242
("hive.stats.retries.wait", "3000ms") -> TimeUnit.MILLISECONDS
243
).map { case ((key, defaultValue), unit) =>
244
val value = hadoopConf.get(key, defaultValue)
245
key -> HiveConf.toTime(value, unit, unit).toString
246
247
248
- (commonTimeVars ++ removedTimeVars).toMap
+ (commonTimeVars ++ hardcodingTimeVars).toMap
249
250
251
/**
0 commit comments