Skip to content
Snippets Groups Projects
Commit 728af88c authored by zsxwing's avatar zsxwing Committed by Michael Armbrust
Browse files

[HOTFIX] Use 'new Job' in fsBasedParquet.scala

Same issue as #6095

cc liancheng

Author: zsxwing <zsxwing@gmail.com>

Closes #6136 from zsxwing/hotfix and squashes the following commits:

4beea54 [zsxwing] Use 'new Job' in fsBasedParquet.scala
parent 32e27df4
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ private[sql] class FSBasedParquetRelation(
filters: Array[Filter],
inputPaths: Array[String]): RDD[Row] = {
val job = Job.getInstance(SparkHadoopUtil.get.conf)
val job = new Job(SparkHadoopUtil.get.conf)
val conf = ContextUtil.getConfiguration(job)
ParquetInputFormat.setReadSupportClass(job, classOf[RowReadSupport])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment