spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-12164) [SQL] Display the binary/encoded values
Date Sun, 06 Dec 2015 18:08:11 GMT

     [ https://issues.apache.org/jira/browse/SPARK-12164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao Li updated SPARK-12164:
----------------------------
    Description: 
So far, we are using comma-separated decimal format to output the encoded contents. This way
is rare when the data is in binary. This could be a common issue when we use Dataset API.


For example, 
{code}
    implicit val kryoEncoder = Encoders.kryo[KryoClassData]
    val ds = Seq(KryoClassData("a", 1), KryoClassData("b", 2), KryoClassData("c", 3)).toDS()
    ds.show(20, false);
{code}

  was:
So far, we are using comma-separated decimal format to output the encoded contents. This way
is rare when the data is in binary. This could be a common issue when we use Dataset API.
For example, 

For example, 
{code}
    implicit val kryoEncoder = Encoders.kryo[KryoClassData]
    val ds = Seq(KryoClassData("a", 1), KryoClassData("b", 2), KryoClassData("c", 3)).toDS()
    ds.show(20, false);
{code}


> [SQL] Display the binary/encoded values
> ---------------------------------------
>
>                 Key: SPARK-12164
>                 URL: https://issues.apache.org/jira/browse/SPARK-12164
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Xiao Li
>
> So far, we are using comma-separated decimal format to output the encoded contents. This
way is rare when the data is in binary. This could be a common issue when we use Dataset API.

> For example, 
> {code}
>     implicit val kryoEncoder = Encoders.kryo[KryoClassData]
>     val ds = Seq(KryoClassData("a", 1), KryoClassData("b", 2), KryoClassData("c", 3)).toDS()
>     ds.show(20, false);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message