hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "niklaus shaw (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11855) Beeline display is not correct when content contains invisible character like \r
Date Thu, 17 Sep 2015 01:49:45 GMT

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

niklaus shaw updated HIVE-11855:
--------------------------------
    Description: 
Field content like this:
{quote}
col1_part1^Mcol1_part2
{quote}

create table statement:
{quote}
create table foo(c1 string);
{quote}

After load the data into table foo using sqoop, beeline displays:
{quote}
0: jdbc:hive2://localhost:10000/default> select * from foo;
+-------------------------+
|         foo.c1          |
+-------------------------+
col1_part2t1
  |
+-------------------------+
{quote}

The first part of the data "col1_part1" is overwritten by the second part "col1_part2"

  was:
Field content like this:
{quote}
col1_part1^Mcol1_part2
{quote}

create table statement:
{quote}
create table foo(c1 string);
{quote}

After load the data into table foo using sqoop, beeline display:
{quote}
0: jdbc:hive2://localhost:10000/default> select * from foo;
+-------------------------+
|         foo.c1          |
+-------------------------+
col1_part2t1
  |
+-------------------------+
{quote}

The first part of the data "col1_part1" is overwritten by the second part "col1_part2"


> Beeline display is not correct when content contains invisible character like \r
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-11855
>                 URL: https://issues.apache.org/jira/browse/HIVE-11855
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 1.1.1, 1.2.1
>            Reporter: Victor JMelo
>            Priority: Minor
>
> Field content like this:
> {quote}
> col1_part1^Mcol1_part2
> {quote}
> create table statement:
> {quote}
> create table foo(c1 string);
> {quote}
> After load the data into table foo using sqoop, beeline displays:
> {quote}
> 0: jdbc:hive2://localhost:10000/default> select * from foo;
> +-------------------------+
> |         foo.c1          |
> +-------------------------+
> col1_part2t1
>   |
> +-------------------------+
> {quote}
> The first part of the data "col1_part1" is overwritten by the second part "col1_part2"



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

Mime
View raw message