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

Yin Huai commented on SPARK-4553:
---------------------------------

[~lian cheng] Should we close it (since setting 
spark.sql.parquet.binaryAsString to true can be used to get string results)? 
Or, we want to remove spark.sql.parquet.binaryAsString?

> query for parquet table with string fields in spark sql hive get binary result
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-4553
>                 URL: https://issues.apache.org/jira/browse/SPARK-4553
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: wangfei
>            Assignee: Cheng Lian
>            Priority: Blocker
>
> run 
> create table test_parquet(key int, value string) stored as parquet;
> insert into table test_parquet select * from src;
> select * from test_parquet;
> get result as follow
> ...
> 282 [B@38fda3b
> 138 [B@1407a24
> 238 [B@12de6fb
> 419 [B@6c97695
> 15 [B@4885067
> 118 [B@156a8d3
> 72 [B@65d20dd
> 90 [B@4c18906
> 307 [B@60b24cc
> 19 [B@59cf51b
> 435 [B@39fdf37
> 10 [B@4f799d7
> 277 [B@3950951
> 273 [B@596bf4b
> 306 [B@3e91557
> 224 [B@3781d61
> 309 [B@2d0d128



--
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

Reply via email to