[ https://issues.apache.org/jira/browse/SPARK-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian closed SPARK-3738. ----------------------------- Resolution: Invalid False alarm, it's because of Hive's default SerDe, which uses '\n' as record delimiter. > InsertIntoHiveTable can't handle strings with "\n" > -------------------------------------------------- > > Key: SPARK-3738 > URL: https://issues.apache.org/jira/browse/SPARK-3738 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.1.0 > Reporter: Cheng Lian > Priority: Blocker > > Try the following snippet in {{sbt/sbt hive/console}} to reproduce: > {code} > sql("drop table if exists z") > case class Str(s: String) > sparkContext.parallelize(Str("a\nb") :: Nil, 1).saveAsTable("z") > table("z").count() > {code} > Expected result should be 1, but 2 is returned instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org