<?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: Unable to access hive tables from SAS in Advanced Programming</title>
    <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764858#M121</link>
    <description>&lt;P&gt;It may have something to do with the datepart() in the WHERE clause. Try&amp;nbsp;&lt;SPAN&gt;SQL_FUNCTIONS=ALL in order for the SAS/ACCESS engine to pass SAS function to Hadoop.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Aug 2021 14:36:55 GMT</pubDate>
    <dc:creator>SuCheeTay</dc:creator>
    <dc:date>2021-08-30T14:36:55Z</dc:date>
    <item>
      <title>Unable to access hive tables from SAS</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764798#M117</link>
      <description>&lt;P&gt;Automated few sas reports sourcing data from hive schema. Programs were running fine till yesterday, Today encountering below error &amp;nbsp;while accessing hive tables through SAS library and I am clueless. I am able to access hive tables and data through Ambari Hive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;219 H_BASE.ADCB_USER_PAGE_VIEWS A WHERE datepart(input(timestamp,anydtdtm.))&amp;gt; "&amp;amp;lastsdte."d ;&lt;BR /&gt;&lt;BR /&gt;HADOOP_1: Prepared: on connection 0&lt;BR /&gt;DESCRIBE FORMATTED `db_appldigi`.`ADCB_USER_PAGE_VIEWS`&lt;BR /&gt;&lt;BR /&gt;ERROR: Prepare error: Error while processing statement: FAILED: Execution Error, return code 1 from&lt;BR /&gt;org.apache.hadoop.hive.ql.exec.DDLTask. cannot find field adcb_user_page_views from [0:date, 1:segmentname,&lt;BR /&gt;2:engagementname, 3:productlabel, 4:channelname, 5:cookie, 6:impressiontimestamp, 7:impressionid, 8:crmid]&lt;BR /&gt;SQL statement: DESCRIBE FORMATTED `db_appldigi`.`ADCB_USER_PAGE_VIEWS`&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 09:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764798#M117</guid>
      <dc:creator>SASUserRocks</dc:creator>
      <dc:date>2021-08-30T09:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access hive tables from SAS</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764809#M118</link>
      <description>&lt;P&gt;Sounds like either the view is unavailable/change/damaged or ahve changed permissions.&lt;/P&gt;
&lt;P&gt;Can you access the view outside the batch?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 11:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764809#M118</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2021-08-30T11:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access hive tables from SAS</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764852#M119</link>
      <description>Yes I can access view outside in hive as well as can view data till sas data loader</description>
      <pubDate>Mon, 30 Aug 2021 14:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764852#M119</guid>
      <dc:creator>SASUserRocks</dc:creator>
      <dc:date>2021-08-30T14:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access hive tables from SAS</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764854#M120</link>
      <description>Also getting same error while accessing any hive table inside library, each has got different definition</description>
      <pubDate>Mon, 30 Aug 2021 14:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764854#M120</guid>
      <dc:creator>SASUserRocks</dc:creator>
      <dc:date>2021-08-30T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access hive tables from SAS</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764858#M121</link>
      <description>&lt;P&gt;It may have something to do with the datepart() in the WHERE clause. Try&amp;nbsp;&lt;SPAN&gt;SQL_FUNCTIONS=ALL in order for the SAS/ACCESS engine to pass SAS function to Hadoop.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 14:36:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764858#M121</guid>
      <dc:creator>SuCheeTay</dc:creator>
      <dc:date>2021-08-30T14:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access hive tables from SAS</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764892#M122</link>
      <description>&lt;P&gt;Anytime a program works for a period time and then starts throwing errors the "solution" will usually come down to finding what changed.&lt;/P&gt;
&lt;P&gt;Were user permissions changed?&lt;/P&gt;
&lt;P&gt;Were rules for the connection to the Hive tables changed? New software on that side with different settings?&lt;/P&gt;
&lt;P&gt;Were one or more files locations changed?&lt;/P&gt;
&lt;P&gt;OR the more obnoxious, did someone change the layout or content of fields in the data?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 16:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Unable-to-access-hive-tables-from-SAS/m-p/764892#M122</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-08-30T16:11:24Z</dc:date>
    </item>
  </channel>
</rss>

