Skip to content
Snippets Groups Projects
Commit 00026fa9 authored by Yin Huai's avatar Yin Huai
Browse files

[SPARK-12901][SQL][HOT-FIX] Fix scala 2.11 compilation.

parent 7d877c34
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ import org.apache.spark.Logging ...@@ -23,7 +23,7 @@ import org.apache.spark.Logging
import org.apache.spark.sql.execution.datasources.CompressionCodecs import org.apache.spark.sql.execution.datasources.CompressionCodecs
private[sql] class CSVOptions( private[sql] class CSVOptions(
@transient parameters: Map[String, String]) @transient private val parameters: Map[String, String])
extends Logging with Serializable { extends Logging with Serializable {
private def getChar(paramName: String, default: Char): Char = { private def getChar(paramName: String, default: Char): Char = {
......
...@@ -27,7 +27,7 @@ import org.apache.spark.sql.execution.datasources.CompressionCodecs ...@@ -27,7 +27,7 @@ import org.apache.spark.sql.execution.datasources.CompressionCodecs
* Most of these map directly to Jackson's internal options, specified in [[JsonParser.Feature]]. * Most of these map directly to Jackson's internal options, specified in [[JsonParser.Feature]].
*/ */
private[sql] class JSONOptions( private[sql] class JSONOptions(
@transient parameters: Map[String, String]) @transient private val parameters: Map[String, String])
extends Serializable { extends Serializable {
val samplingRatio = val samplingRatio =
......
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