[ 
https://issues.apache.org/jira/browse/PHOENIX-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156754#comment-15156754
 ] 

Vivek K T edited comment on PHOENIX-2687 at 2/22/16 10:46 AM:
--------------------------------------------------------------

Hi [~sergey.soldatov], It's my mistake, I rechecked, it works in squirrel. 
Thanks a lot for your time and support. I had raised another issue along with 
this pertaining to datetime columns. Here's the link

[PHOENIX-2686]

Are these related? This is the only issue remaining which is blocking my 
release. Could you help?


was (Author: vivek.kt):
Hi [~sergey.soldatov], It's my mistake, I rechecked, it works in squirrel. 
Thanks a lot for your time and support. I had raised another issue along with 
this pertaining to datetime columns. Here's the link

https://issues.apache.org/jira/browse/PHOENIX-2686

Are these related? This is the only issue remaining which is blocking my 
release. Could you help?

> nested exception is java.sql.SQLException: Error while parsing row for 
> Timestamp columns with null values
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2687
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2687
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.4.0, 4.5.0, 4.6.0
>         Environment: CentOS(Server), Windows(Client)
>            Reporter: Vivek K T
>            Priority: Critical
>
> Follow the below steps to reproduce the issue : 
> 1) Create a dummy table : 
> create table PO_Test
> (
> date1 timestamp,
> amount1 decimal,
> currency1 varchar (50),
> id varchar (50) primary key
> )
> 2) Insert some tuples : 
> upsert into po_test (date1,amount1,currency1,id) values 
> (current_date(),20,'ABC','1');
> upsert into po_test (date1,amount1,currency1,id) values 
> (current_date(),20,'ABC','2');
> upsert into po_test (amount1,currency1,id) values (20,'ABC','3');
> upsert into po_test (amount1,currency1,id) values (20,'ABC','4');
> upsert into po_test (amount1,currency1,id) values (20,'ABC','5');
> 3) Execute the following query : 
> select  date1 date2, amount1 sum_amount, currency1 currency2
> from (
>                 select 
>                 distinct 
>                 date1 date1, 
>                 amount1 amount1, 
>                 currency1 currency1 from po_test
>                 )
> group by 
> date2,sum_amount,currency2;



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

Reply via email to