You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2013/12/07 14:33:35 UTC
[jira] [Resolved] (TAJO-391) Change the default type of real values
from FLOAT4 to FLOAT8 when parsing the user queries
[ https://issues.apache.org/jira/browse/TAJO-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jihoon Son resolved TAJO-391.
-----------------------------
Resolution: Fixed
I've just committed the patch.
DaeMyung, really thanks for your contribution!
> Change the default type of real values from FLOAT4 to FLOAT8 when parsing the user queries
> ------------------------------------------------------------------------------------------
>
> Key: TAJO-391
> URL: https://issues.apache.org/jira/browse/TAJO-391
> Project: Tajo
> Issue Type: Improvement
> Components: operator/function/udf
> Reporter: DaeMyung Kang
> Assignee: DaeMyung Kang
> Priority: Minor
> Fix For: 0.8-incubating
>
> Attachments: TAJO-391.patch
>
>
> FLOAT4 is default parsed float type in tajo.
> but it can cause some trobles when we use it as FLOAT8.
> for examples.
> 0.4(f) will changed to 0.40000000000005(d)
> so it cause different result from java.Math functions.
--
This message was sent by Atlassian JIRA
(v6.1#6144)