<?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 in hive casting of decimal to double is returning the exponential form rather than the non scientific form in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/in-hive-casting-of-decimal-to-double-is-returning-the/m-p/209232#M171188</link>
    <description>&lt;P&gt;hive&amp;gt; select cast(12345678910.231 as double); &lt;/P&gt;&lt;P&gt;1.2345678910231E10 &lt;/P&gt;&lt;P&gt;Time taken: 0.164 seconds, Fetched: 1 row(s) &lt;/P&gt;&lt;P&gt;but need the value 12345678910.231 stored as double.&lt;/P&gt;&lt;P&gt;select cast(cast(12345678910.231 as double) as double); also wont work and is similar as the above.&lt;/P&gt;&lt;P&gt;I dont need the output format to be change using the printf() UDF, rather i need the value to be stored and retrieved while querying as a non exponential form.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 16:11:31 GMT</pubDate>
    <dc:creator>ekharshavardhan</dc:creator>
    <dc:date>2017-08-10T16:11:31Z</dc:date>
  </channel>
</rss>

