<?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: ERROR: IllegalArgumentException: Comparison method violates its general contract! in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54198#M59893</link>
    <description>&lt;P&gt;Thanks for the quick reply. where to set/put/configure these properties when using Impala through JDBC.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 10:17:08 GMT</pubDate>
    <dc:creator>hrishi1dypim</dc:creator>
    <dc:date>2017-04-27T10:17:08Z</dc:date>
    <item>
      <title>ERROR: IllegalArgumentException: Comparison method violates its general contract!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54027#M59891</link>
      <description>&lt;P&gt;getting error&amp;nbsp;ERROR: IllegalArgumentException: Comparison method violates its general contract! when running query through impala-shell or impala jdbc.&lt;/P&gt;&lt;P&gt;this problem is coming in PROD which is very embarasing as never thought such kind of weired problem will come.&lt;/P&gt;&lt;P&gt;please help to resolve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using&amp;nbsp;Impala Shell v2.7.0-cdh5.9.0 .&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:30:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54027#M59891</guid>
      <dc:creator>hrishi1dypim</dc:creator>
      <dc:date>2022-09-16T11:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: IllegalArgumentException: Comparison method violates its general contract!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54056#M59892</link>
      <description>&lt;P&gt;My apologies for this unsightly issue and error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are running into an issue with a relativey new feature - runtime filters.&lt;/P&gt;&lt;P&gt;We have identified and fixed the issue in later versions, see:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/IMPALA-4076" target="_blank"&gt;https://issues.apache.org/jira/browse/IMPALA-4076&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please first check that the relevant tables have stats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround, you may either disable runtime filters:&lt;/P&gt;&lt;P&gt;SET RUNTIME_FILTER_MODE=OFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or you can increase the number of allowed filters per-query:&lt;/P&gt;&lt;P&gt;SET&amp;nbsp;MAX_NUM_RUNTIME_FILTERS=100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue only occurs for complex queries where the number of runtime filters exceed the per-query runtime filter budget (we sort all runtime filters and try to pick the best top-N, which is where this issue is happening).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 21:09:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54056#M59892</guid>
      <dc:creator>alex.behm</dc:creator>
      <dc:date>2017-04-24T21:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: IllegalArgumentException: Comparison method violates its general contract!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54198#M59893</link>
      <description>&lt;P&gt;Thanks for the quick reply. where to set/put/configure these properties when using Impala through JDBC.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 10:17:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54198#M59893</guid>
      <dc:creator>hrishi1dypim</dc:creator>
      <dc:date>2017-04-27T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: IllegalArgumentException: Comparison method violates its general contract!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54225#M59894</link>
      <description>&lt;P&gt;I believe you can append query options applied to that JDBC to the connection string like this:&lt;/P&gt;&lt;P&gt;jdbc:impala://your_impalad.com:21050/default;UseNativeQuery=1;&lt;SPAN&gt;SET RUNTIME_FILTER_MODE=OFF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you should be able to run "&lt;SPAN&gt;SET RUNTIME_FILTER_MODE=OFF" as a query from JDBC to alter the defauly query options of that session.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 01:23:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-IllegalArgumentException-Comparison-method-violates/m-p/54225#M59894</guid>
      <dc:creator>alex.behm</dc:creator>
      <dc:date>2017-04-28T01:23:49Z</dc:date>
    </item>
  </channel>
</rss>

