<?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>topic SAS to Hadoop/Hive values of of range? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503409#M15617</link>
    <description>&lt;P&gt;I am trying to publish data from our SAS environment into a remote Hadoop/Hive database (as sequence files).&amp;nbsp; I'm performing basic tests by taking some source data from our business users and using a data step to write out to the Hadoop library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting errors indicating that a value at row X is out of range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Value out of range for column BUY_RT1, type DECIMAL(5, 5). Disallowed value is: 0.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The source data has a numeric format of 6.5, and the actual value is ".00000".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is .00000 out of range? Would the format for Hadoop need to be "DECIMAL(6, 5)"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the same error when the value is "0.09"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Value out of range for column INT_RT, type DECIMAL(5, 5). Disallowed value is: 0.09&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Thu, 11 Oct 2018 14:04:02 GMT</pubDate>
    <dc:creator>Timmy2383</dc:creator>
    <dc:date>2018-10-11T14:04:02Z</dc:date>
    <item>
      <title>SAS to Hadoop/Hive values of of range?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503409#M15617</link>
      <description>&lt;P&gt;I am trying to publish data from our SAS environment into a remote Hadoop/Hive database (as sequence files).&amp;nbsp; I'm performing basic tests by taking some source data from our business users and using a data step to write out to the Hadoop library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting errors indicating that a value at row X is out of range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Value out of range for column BUY_RT1, type DECIMAL(5, 5). Disallowed value is: 0.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The source data has a numeric format of 6.5, and the actual value is ".00000".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is .00000 out of range? Would the format for Hadoop need to be "DECIMAL(6, 5)"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the same error when the value is "0.09"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Value out of range for column INT_RT, type DECIMAL(5, 5). Disallowed value is: 0.09&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 11 Oct 2018 14:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503409#M15617</guid>
      <dc:creator>Timmy2383</dc:creator>
      <dc:date>2018-10-11T14:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to Hadoop/Hive values of of range?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503415#M15618</link>
      <description>&lt;P&gt;Just a thought, what is the SAS format or this column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"When you specify a SAS format for a DECIMAL data type with specified precision and scale, specify &lt;SPAN class="xis-userSuppliedValue"&gt;w.d&lt;/SPAN&gt; format. &lt;SPAN class="xis-userSuppliedValue"&gt;w&lt;/SPAN&gt; is the width of the &lt;SPAN class="ng-scope" data-gloss-modified="" data-gloss-item="1"&gt;&lt;A class="glossLink ng-scope" href="http://documentation.sas.com/" target="_blank"&gt;&lt;SPAN class="xis-glossTerm ng-scope" data-gloss-term="1"&gt;variable&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; (including the decimal portion, if any), the decimal point, and a potential negative sign. For example, given a column of &lt;SPAN class="ng-scope" data-gloss-modified="" data-gloss-item="1"&gt;&lt;A class="glossLink ng-scope" href="http://documentation.sas.com/" target="_blank"&gt;&lt;SPAN class="xis-glossTerm ng-scope" data-gloss-term="1"&gt;type&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;CODE class="xis-codeVarValue"&gt; DECIMAL(10,0)&lt;/CODE&gt;, the format is &lt;CODE class="xis-codeVarValue"&gt;11&lt;/CODE&gt;. Given a column of type &lt;CODE class="xis-codeVarValue"&gt;DECIMAL(18,2)&lt;/CODE&gt;, the format is &lt;CODE class="xis-codeVarValue"&gt;20.2&lt;/CODE&gt;."&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 14:11:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503415#M15618</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-10-11T14:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to Hadoop/Hive values of of range?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503419#M15620</link>
      <description>According to proc contents...&lt;BR /&gt;Type = Num&lt;BR /&gt;Len = 8&lt;BR /&gt;Format = 6.5</description>
      <pubDate>Thu, 11 Oct 2018 14:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-to-Hadoop-Hive-values-of-of-range/m-p/503419#M15620</guid>
      <dc:creator>Timmy2383</dc:creator>
      <dc:date>2018-10-11T14:16:21Z</dc:date>
    </item>
  </channel>
</rss>

