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

Apache Spark reassigned SPARK-23058:
------------------------------------

    Assignee: Apache Spark

> Show create table can't show non printable field delim
> ------------------------------------------------------
>
>                 Key: SPARK-23058
>                 URL: https://issues.apache.org/jira/browse/SPARK-23058
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Yuming Wang
>            Assignee: Apache Spark
>
> # create table t1:
> {code:sql}
> CREATE EXTERNAL TABLE `t1`(`col1` bigint)
> ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
> WITH SERDEPROPERTIES (
>   'field.delim' = '\177',
>   'serialization.format' = '\003'
> )
> STORED AS
>   INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat'
>   OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat'
> LOCATION 'file:/tmp/t1';
> {code}
> # show create table t1:
> {code:java}
> spark-sql> show create table t1;
> CREATE EXTERNAL TABLE `t1`(`col1` bigint)
> ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
> WITH SERDEPROPERTIES (
>   'field.delim' = '',
>   'serialization.format' = ''
> )
> STORED AS
>   INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat'
>   OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat'
> LOCATION 'file:/tmp/t1'
> TBLPROPERTIES (
>   'transient_lastDdlTime' = '1515766958'
> )
> {code}
>  {{'\177'}} and {{'\003'}} didn't correct show.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to