drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1631) Integer comparison in JSON
Date Thu, 06 Nov 2014 21:47:34 GMT

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

Aman Sinha commented on DRILL-1631:
-----------------------------------

+1.    Can you fix the comment:  "FLOAT we the other known type is 'INT' we would end up casting
FLOAT"
Also, just check if there's any impact on arithmetic operators .. I don't think that goes
through ensureSameType.  

> Integer comparison in JSON
> --------------------------
>
>                 Key: DRILL-1631
>                 URL: https://issues.apache.org/jira/browse/DRILL-1631
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Tomer Shiran
>            Assignee: Mehant Baid
>         Attachments: DRILL-1631.patch
>
>
> {code}
> 0: jdbc:drill:zk=local> SELECT stars FROM dfs.yelp.`yelp_academic_dataset_business.json`
WHERE stars = 5 LIMIT 1;
> +------------+
> |   stars    |
> +------------+
> | 4.5        |
> +------------+
> 1 row selected (0.234 seconds)
> 0: jdbc:drill:zk=local>
> {code}



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

Mime
View raw message