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

James Taylor updated PHOENIX-3312:
----------------------------------
    Description: 
When dividing int constants the result is an int while it should be decimal  
(like 1/3 = 0 and not 0.33) 

There is a work around to do 1/3.0 but this is not a solution.

  was:
when dividing int column the value is in while it should be flout  (like 1/3 = 
0 and not 0.33) 

there is a work around to do 1/3.0 but this is not a solution.


> Dividing int constant values should result in decimal
> -----------------------------------------------------
>
>                 Key: PHOENIX-3312
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3312
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: noam bulvik
>             Fix For: 4.9.0
>
>
> When dividing int constants the result is an int while it should be decimal  
> (like 1/3 = 0 and not 0.33) 
> There is a work around to do 1/3.0 but this is not a solution.



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

Reply via email to