drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vova Vysotskyi (Jira)" <j...@apache.org>
Subject [jira] [Created] (DRILL-7615) UNION ALL query returns the wrong result for the decimal value
Date Mon, 02 Mar 2020 12:00:18 GMT
Vova Vysotskyi created DRILL-7615:
-------------------------------------

             Summary: UNION ALL query returns the wrong result for the decimal value
                 Key: DRILL-7615
                 URL: https://issues.apache.org/jira/browse/DRILL-7615
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.14.0
            Reporter: Vova Vysotskyi
            Assignee: Vova Vysotskyi
             Fix For: 1.18.0


The following query:

{code:java}
select cast(1000 as decimal(10,1)) 
union all 
select 596.000 
{code}

returns incorrect result:

{code:java}
10.000
596.000
{code}

The expected result is 1000.000 for the first record.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message