<?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: Hive BIGINT vs INT storage and performance? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-BIGINT-vs-INT-storage-and-performance/m-p/121151#M55303</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/16223/gdhawas.html" nodeid="16223"&gt;@Gunjan Dhawas&lt;/A&gt;&lt;P&gt;based by the wiki, it will take 8 bytes. &lt;/P&gt;&lt;PRE&gt;INT/INTEGER (4-byte signed integer, from -2,147,483,648 to 2,147,483,647)
BIGINT (8-byte signed integer, from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-IntegralTypes(TINYINT,SMALLINT,INT/INTEGER,BIGINT)" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-IntegralTypes(TINYINT,SMALLINT,INT/INTEGER,BIGINT)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Tutorial#Tutorial-TypeSystem" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/Tutorial#Tutorial-TypeSystem&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 00:54:18 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2017-02-24T00:54:18Z</dc:date>
    <item>
      <title>Hive BIGINT vs INT storage and performance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-BIGINT-vs-INT-storage-and-performance/m-p/121150#M55302</link>
      <description>&lt;P&gt;If I'm having a column with BIGINT as datatype and it's having a value in INT's range, then will it take all the 8bytes or just 4bytes for storing?&lt;/P&gt;&lt;P&gt;,
&lt;/P&gt;&lt;P&gt;what about BIGINT and INT?&lt;/P&gt;&lt;P&gt;for example if I'm having a column with BIGINT as datatype and I'm inserting value in INT's range, will it take 8byte(as for BIGINT) or just 4bytes considering it is in INT range?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:03:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-BIGINT-vs-INT-storage-and-performance/m-p/121150#M55302</guid>
      <dc:creator>gdhawas</dc:creator>
      <dc:date>2017-02-23T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hive BIGINT vs INT storage and performance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-BIGINT-vs-INT-storage-and-performance/m-p/121151#M55303</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/16223/gdhawas.html" nodeid="16223"&gt;@Gunjan Dhawas&lt;/A&gt;&lt;P&gt;based by the wiki, it will take 8 bytes. &lt;/P&gt;&lt;PRE&gt;INT/INTEGER (4-byte signed integer, from -2,147,483,648 to 2,147,483,647)
BIGINT (8-byte signed integer, from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-IntegralTypes(TINYINT,SMALLINT,INT/INTEGER,BIGINT)" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-IntegralTypes(TINYINT,SMALLINT,INT/INTEGER,BIGINT)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Tutorial#Tutorial-TypeSystem" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/Tutorial#Tutorial-TypeSystem&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:54:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-BIGINT-vs-INT-storage-and-performance/m-p/121151#M55303</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-24T00:54:18Z</dc:date>
    </item>
  </channel>
</rss>

