You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/04/03 01:48:53 UTC
[jira] [Commented] (DRILL-2668) CAST to FLOAT with numeric literal
yields DOUBLE
[ https://issues.apache.org/jira/browse/DRILL-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393753#comment-14393753 ]
Daniel Barclay (Drill) commented on DRILL-2668:
-----------------------------------------------
Review request is at https://reviews.apache.org/r/32801/.
> CAST to FLOAT with numeric literal yields DOUBLE
> ------------------------------------------------
>
> Key: DRILL-2668
> URL: https://issues.apache.org/jira/browse/DRILL-2668
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Daniel Barclay (Drill)
> Assignee: Daniel Barclay (Drill)
> Attachments: DRILL-2668.1.patch.txt
>
>
> Casting a numeric literal to FLOAT results in type DOUBLE rather than type FLOAT.
> Currently (before DRILL-2613 is fixed), querying for "CAST (1.1 AS FLOAT)" and reading the value using ResultSet.getFloat(...) yields an error about not allowed to use getFloat(...) for a FLOAT8 vector.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)