Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding @transient to textOptions because they shouldn't be serialized
  • Loading branch information
MaxGekk committed May 10, 2018
commit fe6c3c2cc9a113f7cd38185a0315484e3a3c99cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ package org.apache.spark.sql.catalyst.json

import java.util.{Locale, TimeZone}

import scala.collection.immutable.ListMap

import com.fasterxml.jackson.core.{JsonFactory, JsonParser}
import org.apache.commons.lang3.time.FastDateFormat

Expand Down Expand Up @@ -99,5 +97,5 @@ private[sql] class JSONOptions(
factory.configure(JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS, allowUnquotedControlChars)
}

val textOptions = ListMap(parameters.toList: _*)
@transient val textOptions = parameters
}