You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by jdkorigan <su...@korigan.com> on 2016/02/22 18:01:16 UTC
DataFrame and char encoding
Hi,
I'm trying to find a solution to display string with accents or special
char(latin-1).
Is there a way to create a DataFrame with a special char encoding?
fields = [StructField(StructField("subject", StringType(), True)]
schema = StructType(fields)
DF = sqlContext.createDataFrame(RDD, schema)
DF.registerTempTable("Events")
%sql SELECT * from Events
#encoding is not correct
Information Système TAL
--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/DataFrame-and-char-encoding-tp26288.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org