<?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: what does this mean? - ( overflow when multiplying cardinalities ) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35875#M14115</link>
    <description>Alex,&lt;BR /&gt;&lt;BR /&gt;Thank you very much. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Moonwon (Gatsby) Lee&lt;BR /&gt;gatsbylee.com&lt;BR /&gt;&lt;BR /&gt;"Life isn't about waiting for the storm to pass, it's about learning to&lt;BR /&gt;dance in the rain."</description>
    <pubDate>Wed, 06 Jan 2016 08:20:58 GMT</pubDate>
    <dc:creator>thewayofthinkin</dc:creator>
    <dc:date>2016-01-06T08:20:58Z</dc:date>
    <item>
      <title>what does this mean? - ( overflow when multiplying cardinalities )</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35858#M14113</link>
      <description>&lt;PRE&gt;W0105 16:59:22.911566 28206 PlanNode.java:545] overflow when multiplying cardinalities: 9223372036854775807, 9
W0105 16:59:22.909112 28206 PlanNode.java:545] overflow when multiplying cardinalities: 86038345052864512, 75227480
W0105 16:59:22.897722 28206 PlanNode.java:545] overflow when multiplying cardinalities: 2389953856178920, 12537913
W0105 16:59:22.886450 28206 PlanNode.java:545] overflow when multiplying cardinalities: 2389953856178920, 12537913&lt;/PRE&gt;&lt;P&gt;Hell,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started getting this message. How should I interpret this msg in log?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#udpated&lt;/P&gt;&lt;P&gt;I have found this from Google Group commented by Martin Grund.&lt;/P&gt;&lt;P&gt;"""&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It happens when multiplying to Java long values results in an overflow, see&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcloudera%2FImpala%2Fblob%2Fcdh5-trunk%2Ffe%2Fsrc%2Fmain%2Fjava%2Fcom%2Fcloudera%2Fimpala%2Fplanner%2FPlanNode.java%23L541&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNE3SxpdWdNnfY3qj3bVMsw7Ucd8Sw" target="_blank" rel="nofollow"&gt;https://github.com/cloudera/Impala/blob/cdh5-trunk/fe/src/main/java/com/cloudera/impala/planner/PlanNode.java#L541&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cardinalities are used in optimizing the plan and for example for joins table cardinalities are multiplied and may result in very larger values. If the multiplication overflows, we use Long.MAX_VALUE.&lt;/DIV&gt;&lt;P&gt;"""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Question:&lt;/P&gt;&lt;P&gt;Is there anything I need to do to prevent this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:55:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35858#M14113</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2022-09-16T09:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: what does this mean? - ( overflow when multiplying cardinalities )</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35874#M14114</link>
      <description>&lt;P&gt;At the moment you cannot really prevent this issue. It is a warning indicating that some calculations may not be accurate due to overflow (e.g., when multiplying very large cardinalities). The values will be capped at MAX_LONG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have reason to believe that your query plans are bad because of this overflow, then I would not worry about those warnings.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 08:18:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35874#M14114</guid>
      <dc:creator>alex.behm</dc:creator>
      <dc:date>2016-01-06T08:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: what does this mean? - ( overflow when multiplying cardinalities )</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35875#M14115</link>
      <description>Alex,&lt;BR /&gt;&lt;BR /&gt;Thank you very much. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Moonwon (Gatsby) Lee&lt;BR /&gt;gatsbylee.com&lt;BR /&gt;&lt;BR /&gt;"Life isn't about waiting for the storm to pass, it's about learning to&lt;BR /&gt;dance in the rain."</description>
      <pubDate>Wed, 06 Jan 2016 08:20:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-does-this-mean-overflow-when-multiplying-cardinalities/m-p/35875#M14115</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2016-01-06T08:20:58Z</dc:date>
    </item>
  </channel>
</rss>

