You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2014/12/12 00:48:15 UTC

[jira] [Created] (DRILL-1846) Re-ordering output of a subquery on a different column causes error

Aman Sinha created DRILL-1846:
---------------------------------

             Summary: Re-ordering output of a subquery on a different column causes error
                 Key: DRILL-1846
                 URL: https://issues.apache.org/jira/browse/DRILL-1846
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Aman Sinha
            Assignee: Aman Sinha


In the following the subquery does an order by on n_regionkey and the outer query does another order-by on n_nationkey.  This query errors out:
{code}
 select n.n_nationkey 
      from  (select n_nationkey, n_regionkey from cp.`tpch/nation.parquet` 
                   order by n_regionkey) n 
  order by n.n_nationkey;

  Query failed: Query failed: Unexpected exception during fragment initialization: SingleMergeExchange only supports a single receiver endpoint
{code}





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