You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "forrest lv (JIRA)" <ji...@apache.org> on 2015/11/05 05:13:27 UTC
[jira] [Resolved] (HIVE-12343) when column type is decimal and the
literal value contains space will return null
[ 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)