[ 
https://issues.apache.org/jira/browse/SPARK-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098573#comment-14098573
 ] 

Teng Qiu commented on SPARK-2927:
---------------------------------

SPARK-2699 could also be closed, these two ticket are almost the same. only one 
comment about auto-detection: 
https://github.com/apache/spark/pull/1855#discussion-diff-16294353

> Add a conf to configure if we always read Binary columns stored in Parquet as 
> String columns
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-2927
>                 URL: https://issues.apache.org/jira/browse/SPARK-2927
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Yin Huai
>            Assignee: Yin Huai
>             Fix For: 1.1.0
>
>
> Based on Parquet spec (https://github.com/Parquet/parquet-format), "strings 
> are stored as byte arrays (binary) with a UTF8 annotation". However, if the 
> data generator does not follow it, we will only read binary values back 
> instead of string values.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to