You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/11/12 01:37:34 UTC

[jira] [Resolved] (DRILL-1617) Disable ProducerConsumer

     [ https://issues.apache.org/jira/browse/DRILL-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehant Baid resolved DRILL-1617.
--------------------------------
    Resolution: Fixed

Resolved in 78609665930a14aff131c7ce47713e3a37b0339b

> Disable ProducerConsumer
> ------------------------
>
>                 Key: DRILL-1617
>                 URL: https://issues.apache.org/jira/browse/DRILL-1617
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Steven Phillips
>         Attachments: DRILL-1617.patch
>
>
> This operator causes incorrect query results:
> 0: jdbc:drill:schema=dfs.par100> alter session set `planner.add_producer_consumer` = true;
> +------------+------------+
> |     ok     |  summary   |
> +------------+------------+
> | true       | planner.add_producer_consumer updated. |
> +------------+------------+
> 1 row selected (0.053 seconds)
> 0: jdbc:drill:schema=dfs.par100> select count(l_orderkey) from lineitem;
> +------------+
> |   EXPR$0   |
> +------------+
> | 600037902  |
> +------------+
> 1 row selected (0.212 seconds)
> 0: jdbc:drill:schema=dfs.par100> select count(l_orderkey) from lineitem where 1 = 1;
> +------------+
> |   EXPR$0   |
> +------------+
> | 569114624  |
> +------------+
> 1 row selected (2.163 seconds)
> 0: jdbc:drill:schema=dfs.par100> alter session set `planner.add_producer_consumer` = false;
> +------------+------------+
> |     ok     |  summary   |
> +------------+------------+
> | true       | planner.add_producer_consumer updated. |
> +------------+------------+
> 1 row selected (0.046 seconds)
> 0: jdbc:drill:schema=dfs.par100> select count(l_orderkey) from lineitem where 1 = 1;
> +------------+
> |   EXPR$0   |
> +------------+
> | 600037902  |
> +------------+
> 1 row selected (2.657 seconds)
> As an immediate fix, we should disable this operator.



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