You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2014/10/30 22:43:33 UTC

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

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

Parth Chandra commented on DRILL-1617:
--------------------------------------

+1
We should log a new JIRA to track and fix the issue with the producer consumer queue

> 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)