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
Update SparkSqlParser.scala
  • Loading branch information
AngersZhuuuu committed Nov 13, 2020
commit 3ad44e3a175ec3324781d6e3a2ff9e3739455c82
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,9 @@ class SparkSqlAstBuilder(conf: SQLConf) extends AstBuilder(conf) {
// Use default (serde) format.
val name = conf.getConfString("hive.script.serde",
"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe")
val props = Seq("field.delim" -> "\t")
val props = Seq(
"field.delim" -> "\t",
"serialization.last.column.takes.rest" -> "true")
val recordHandler = Option(conf.getConfString(configKey, defaultConfigValue))
(Nil, Option(name), props, recordHandler)
}
Expand Down