hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "forrest lv (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-12343) when column type is decimal and the literal value contains space will return null
Date Thu, 05 Nov 2015 04:13:27 GMT

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

forrest lv resolved HIVE-12343.
-------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 1.1.0)
                   2.0.0

the problem was resolved in the issue HIVE-10799

> when column type is decimal and the literal value contains space will return null
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-12343
>                 URL: https://issues.apache.org/jira/browse/HIVE-12343
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: forrest lv
>            Assignee: forrest lv
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> when column type is decimal and the literal value contains space will return null
> create table t2(id string,name string,score decimal) ROW FORMAT DELIMITED  FIELDS TERMINATED
BY ','  stored as textfile;
> SZX1000045568:/opt/data # hdfs dfs -cat /user/hive/warehouse/t2/t2.dat;
> 1,laolv, 99.99  
> 2,laolv2,98.99
> select * from t2;
> +--------+----------+-----------+--+
> | t2.id  | t2.name  | t2.score  |
> +--------+----------+-----------+--+
> | 1      | laolv    | NULL      |
> | 2      | laolv2   | 99        |
> +--------+----------+-----------+--+



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

Mime
View raw message