<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Cant run query on Drill in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cant-run-query-on-Drill/m-p/191705#M62045</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15991/mmlr-90.html" nodeid="15991"&gt;@mÁRIO Rodrigues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This seems to be known issue and Jira &lt;A href="https://issues.apache.org/jira/browse/DRILL-5214"&gt;DRILL-5214&lt;/A&gt; has been raised for the same.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2017 14:29:06 GMT</pubDate>
    <dc:creator>ssubhas</dc:creator>
    <dc:date>2017-05-31T14:29:06Z</dc:date>
    <item>
      <title>Cant run query on Drill</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cant-run-query-on-Drill/m-p/191704#M62044</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Im performing a tpch benchmark on Apache Drill, when i try to run query 21 (i'll put the code next) it gives the error "UNSUPPORTED_OPERATION ERROR: This query cannot be planned possibly due to either a cartesian join or an inequality join". I tried with all tables on the from line but the result is the same. Why is this happening? can someone provide a version of the queries that might work with the same result?&lt;/P&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;SELECT S_NAME, COUNT(*) AS NUMWAIT
FROM hive.tpch_flat_orc_30.supplier, hive.tpch_flat_orc_30.nation
join hive.tpch_flat_orc_30.LINEITEM L1 on S_SUPPKEY = L1.L_SUPPKEY
join hive.tpch_flat_orc_30.ORDERS on O_ORDERKEY = L1.L_ORDERKEY
where O_ORDERSTATUS = 'F'
AND L1.L_RECEIPTDATE&amp;gt; L1.L_COMMITDATE
AND EXISTS (SELECT *
FROM hive.tpch_flat_orc_30.lINEITEM L2
WHERE L2.L_ORDERKEY = L1.L_ORDERKEY
AND L2.L_SUPPKEY &amp;lt;&amp;gt; L1.L_SUPPKEY)
AND NOT EXISTS (SELECT *
FROM hive.tpch_flat_orc_30.lineitem L3
WHERE L3.L_ORDERKEY = L1.L_ORDERKEY
AND L3.L_SUPPKEY &amp;lt;&amp;gt; L1.L_SUPPKEY
AND L3.L_RECEIPTDATE &amp;gt; L3.L_COMMITDATE)
AND S_NATIONKEY = N_NATIONKEY
AND N_NAME = 'SAUDI ARABIA'
GROUP BY S_NAME
ORDER BY NUMWAIT DESC, S_NAME
LIMIT 100;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 May 2017 02:47:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cant-run-query-on-Drill/m-p/191704#M62044</guid>
      <dc:creator>mmlr_90</dc:creator>
      <dc:date>2017-05-31T02:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cant run query on Drill</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cant-run-query-on-Drill/m-p/191705#M62045</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15991/mmlr-90.html" nodeid="15991"&gt;@mÁRIO Rodrigues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This seems to be known issue and Jira &lt;A href="https://issues.apache.org/jira/browse/DRILL-5214"&gt;DRILL-5214&lt;/A&gt; has been raised for the same.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 14:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cant-run-query-on-Drill/m-p/191705#M62045</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2017-05-31T14:29:06Z</dc:date>
    </item>
  </channel>
</rss>

