[jira] [Updated] (HIVE-13777) NPE is thrown when select table after change column from string to decimal

2016-05-24 Thread Jesus Camacho Rodriguez (JIRA)

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

Jesus Camacho Rodriguez updated HIVE-13777:
---
Target Version/s:   (was: 2.1.0)

> NPE is thrown when select table after change column from string to decimal
> --
>
> Key: HIVE-13777
> URL: https://issues.apache.org/jira/browse/HIVE-13777
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.1.0
>Reporter: Takahiko Saito
>
> Run the followings to change a column from string to decimail:
> {noformat}
> drop table if exists 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> create table 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal
>  stored as orc as select s, s_dc from schemaevo;
> alter table 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal
>  change column s_dc s_dc decimal(12,4);
> select count(*) from 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> {noformat}
> select count works fine but just select throws NPE:
> {noformat}
> 0: jdbc:hive2://os-r6-0517-hiveserver2-1-1.op> select count(*) from 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> +-+--+
> |   c0|
> +-+--+
> | 10  |
> +-+--+
> 1 row selected (13.856 seconds)
> 0: jdbc:hive2://os-r6-0517-hiveserver2-1-1.op> select * from 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> Error: java.io.IOException: java.lang.NullPointerException (state=,code=0)
> {noformat}



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


[jira] [Updated] (HIVE-13777) NPE is thrown when select table after change column from string to decimal

2016-05-18 Thread Takahiko Saito (JIRA)

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

Takahiko Saito updated HIVE-13777:
--
Target Version/s: 2.1.0  (was: 1.2.1, 2.1.0)

> NPE is thrown when select table after change column from string to decimal
> --
>
> Key: HIVE-13777
> URL: https://issues.apache.org/jira/browse/HIVE-13777
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.1.0
>Reporter: Takahiko Saito
>
> Run the followings to change a column from string to decimail:
> {noformat}
> drop table if exists 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> create table 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal
>  stored as orc as select s, s_dc from schemaevo;
> alter table 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal
>  change column s_dc s_dc decimal(12,4);
> select count(*) from 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> {noformat}
> select count works fine but just select throws NPE:
> {noformat}
> 0: jdbc:hive2://os-r6-0517-hiveserver2-1-1.op> select count(*) from 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> +-+--+
> |   c0|
> +-+--+
> | 10  |
> +-+--+
> 1 row selected (13.856 seconds)
> 0: jdbc:hive2://os-r6-0517-hiveserver2-1-1.op> select * from 
> shcemaevo_vectorization_true_disallowincompatible_false_fileformat_orc_string_decimal;
> Error: java.io.IOException: java.lang.NullPointerException (state=,code=0)
> {noformat}



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