<?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 Re: SAS Code conversion to  Hive/HDFS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505792#M135491</link>
    <description>&lt;P&gt;1.&lt;EM&gt;I am able to resolve the issue by including&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So this is solved? If so mark your update as the solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I don't see where INT is the culprit for the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. It is odd that you need set set&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;as the delimiter when the HDFS file is using \001&lt;/P&gt;</description>
    <pubDate>Thu, 18 Oct 2018 23:01:57 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-10-18T23:01:57Z</dc:date>
    <item>
      <title>SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504299#M134934</link>
      <description>&lt;P&gt;We are in the process of converting SAS programs, which source data from Netezza to access Hive/HDFS database. I am finding few&amp;nbsp; data types used in SAS&amp;nbsp; are not compatible with Hive data type.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help by providing direction how to proceed with such conversion and also let me know if any SAS document or note&amp;nbsp; available&amp;nbsp; &amp;nbsp;to support the conversion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504299#M134934</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-10-15T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504528#M135026</link>
      <description>&lt;P&gt;So your data was in Netezza and is moved to HDFS via SAS and Hive ?&lt;/P&gt;
&lt;P&gt;SAS only has 2 variable types: numeric and fixed-length string.&lt;/P&gt;
&lt;P&gt;What Hive data types give you trouble? Dates?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 23:10:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504528#M135026</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-10-15T23:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504546#M135033</link>
      <description>‎Hi&lt;BR /&gt;We moved Netezza data into HDFS and we are encountering issues when we bring data into SAS datsets as some of datatypes are not compatabile. One of the data type int. In hive&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2018 00:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504546#M135033</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-10-16T00:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504552#M135038</link>
      <description>&lt;P&gt;Type INT should not be a problem.&lt;/P&gt;
&lt;P&gt;You might lose precision with BIGINT for numbers &amp;gt; ~1e16, but INT should be fine.&lt;/P&gt;
&lt;P&gt;What errors do you get?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 00:56:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/504552#M135038</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-10-16T00:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505489#M135370</link>
      <description>&lt;P&gt;I am unable to open few data sets which has INT attribute.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 11:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505489#M135370</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-10-18T11:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505493#M135371</link>
      <description>&lt;P&gt;What errors do you get?&lt;/P&gt;
&lt;P&gt;Nothing in the SAS log?&lt;/P&gt;
&lt;P&gt;Nothing in the HDFS or Hive logs?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 11:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505493#M135371</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-10-18T11:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505495#M135372</link>
      <description>&lt;P&gt;Thanks , I am able to resolve the issue by including&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;COLUMN_DELIMITER = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'|'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;which I found in one of SAS support communities data management page.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;. Earlier I used to get error as per below log As per log issue is related to hive&amp;nbsp;column which has more than 32 char length.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Logs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of&lt;/P&gt;
&lt;P&gt;errors.&lt;/P&gt;
&lt;P&gt;WARNING: The data set X.VALUES1 may be incomplete. When this&lt;/P&gt;
&lt;P&gt;step was stopped there were 0 observations and 13&lt;/P&gt;
&lt;P&gt;variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HADOOP_5: Executed: on connection 3&lt;/P&gt;
&lt;P&gt;CREATE TABLE `dev_hdw_sas_test`.`VALUES1` (`value_id`&lt;/P&gt;
&lt;P&gt;BIGINT,`default_id` BIGINT,`stat_type_id`&lt;/P&gt;
&lt;P&gt;BIGINT,`stattype_desc` VARCHAR(255),`value_date`&lt;/P&gt;
&lt;P&gt;TIMESTAMP,`authorized` DECIMAL(14, 2),`outstanding` DECIMAL(14,&lt;/P&gt;
&lt;P&gt;2),`issued` DECIMAL(14, 2),`source_system_ind`&lt;/P&gt;
&lt;P&gt;7 The SAS System&lt;/P&gt;
&lt;P&gt;06:08 Thursday, October 18, 2018&lt;/P&gt;
&lt;P&gt;TINYINT,`create_date` TIMESTAMP,`update_date`&lt;/P&gt;
&lt;P&gt;TIMESTAMP,`update_user_id` VARCHAR(255),`idp_data_date` DATE)&lt;/P&gt;
&lt;P&gt;ROW FORMAT DELIMITED FIELDS TERMINATED BY '\001' LINES&lt;/P&gt;
&lt;P&gt;TERMINATED BY '\012' STORED AS TEXTFILE TBLPROPERTIES ('SAS OS&lt;/P&gt;
&lt;P&gt;Name'='Linux','SAS Version'='9.04.01M4P11092016')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: ROLLBACK issued due to errors for data set&lt;/P&gt;
&lt;P&gt;X.VALUES1.DATA.&lt;/P&gt;
&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 2.59 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;8 The SAS System&lt;/P&gt;
&lt;P&gt;06:08 Thursday, October 18, 2018&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;32 %LET _CLIENTTASKLABEL=;&lt;/P&gt;
&lt;P&gt;33 %LET _CLIENTPROCESSFLOWNAME=;&lt;/P&gt;
&lt;P&gt;34 %LET _CLIENTPROJECTPATH=;&lt;/P&gt;
&lt;P&gt;35 %LET _CLIENTPROJECTPATHHOST=;&lt;/P&gt;
&lt;P&gt;36 %LET _CLIENTPROJECTNAME=;&lt;/P&gt;
&lt;P&gt;37 %LET _SASPROGRAMFILE=;&lt;/P&gt;
&lt;P&gt;38 %LET _SASPROGRAMFILEHOST=;&lt;/P&gt;
&lt;P&gt;39&lt;/P&gt;
&lt;P&gt;40 ;*';*";*/;quit;run;&lt;/P&gt;
&lt;P&gt;41 ODS _ALL_ CLOSE;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 11:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505495#M135372</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-10-18T11:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Code conversion to  Hive/HDFS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505792#M135491</link>
      <description>&lt;P&gt;1.&lt;EM&gt;I am able to resolve the issue by including&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So this is solved? If so mark your update as the solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I don't see where INT is the culprit for the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. It is odd that you need set set&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;as the delimiter when the HDFS file is using \001&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 23:01:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Code-conversion-to-Hive-HDFS/m-p/505792#M135491</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-10-18T23:01:57Z</dc:date>
    </item>
  </channel>
</rss>

