<?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 How to create a hive array from sas data set? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-hive-array-from-sas-data-set/m-p/657880#M197163</link>
    <description>&lt;P&gt;Say I have a SAS dataset (or a hive table) with an id variable plus variables x1-x5 and I want to read this data into a hive table with the x1-x5 in a hive array. What goes in the select statement to get those variables into an array? Or is select not the right way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 04:38:33 GMT</pubDate>
    <dc:creator>ARC2</dc:creator>
    <dc:date>2020-06-12T04:38:33Z</dc:date>
    <item>
      <title>How to create a hive array from sas data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-hive-array-from-sas-data-set/m-p/657880#M197163</link>
      <description>&lt;P&gt;Say I have a SAS dataset (or a hive table) with an id variable plus variables x1-x5 and I want to read this data into a hive table with the x1-x5 in a hive array. What goes in the select statement to get those variables into an array? Or is select not the right way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 04:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-hive-array-from-sas-data-set/m-p/657880#M197163</guid>
      <dc:creator>ARC2</dc:creator>
      <dc:date>2020-06-12T04:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hive array from sas data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-hive-array-from-sas-data-set/m-p/657923#M197169</link>
      <description>&lt;P&gt;That's not a SAS but a Hive SQL question.&lt;/P&gt;
&lt;P&gt;After a quick Google seems there is an array() function for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From:&amp;nbsp;&lt;A href="https://dwgeek.com/hive-array-functions-usage-and-examples.html/" target="_blank"&gt;https://dwgeek.com/hive-array-functions-usage-and-examples.html/&lt;/A&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorPatrick_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorPatrick_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorPatrick_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Following is the syntax of array function.&lt;/P&gt;
&lt;PRE class="wp-block-code"&gt;&lt;CODE&gt;array(value1, value2, value2,...)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;value&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is of type string or integer.&lt;/P&gt;
&lt;DIV id="tinyMceEditorPatrick_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorPatrick_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jun 2020 06:24:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-hive-array-from-sas-data-set/m-p/657923#M197169</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-06-12T06:24:52Z</dc:date>
    </item>
  </channel>
</rss>

