drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khurram Faraaz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5130) UNION ALL difference in results
Date Wed, 14 Dec 2016 06:24:58 GMT
Khurram Faraaz created DRILL-5130:
-------------------------------------

             Summary: UNION ALL difference in results
                 Key: DRILL-5130
                 URL: https://issues.apache.org/jira/browse/DRILL-5130
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow
    Affects Versions: 1.9.0
            Reporter: Khurram Faraaz


Drill 1.9.0 git commit ID: 51246693

{noformat}
0: jdbc:drill:schema=dfs.tmp> values(1,2,3,4,5,6) union all values(7,8,9,10,11,12);
+---------+---------+---------+---------+---------+---------+
| EXPR$0  | EXPR$1  | EXPR$2  | EXPR$3  | EXPR$4  | EXPR$5  |
+---------+---------+---------+---------+---------+---------+
| 7       | 8       | 9       | 10      | 11      | 12      |
| 7       | 8       | 9       | 10      | 11      | 12      |
+---------+---------+---------+---------+---------+---------+
2 rows selected (0.209 seconds)
{noformat}

Postgres 9.3

{noformat}
postgres=# values(1,2,3,4,5,6) union all values(7,8,9,10,11,12);
 column1 | column2 | column3 | column4 | column5 | column6 
---------+---------+---------+---------+---------+---------
       1 |       2 |       3 |       4 |       5 |       6
       7 |       8 |       9 |      10 |      11 |      12
(2 rows)
{noformat}



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

Mime
View raw message