<?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 Connection SAS EG to impala in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connection-SAS-EG-to-impala/m-p/738318#M230286</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am connecting to Impala. When I am using single variable, there is no error.But if i add another variable a cli error comes.&lt;/P&gt;&lt;P&gt;Error is:CLI prepare error: [cloudera][ImpalaODbC] Query analysis error occured during query execution.&lt;/P&gt;&lt;P&gt;I am using the below code:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;%conxnimp(eap_v,implink,db,dbmax_test = 30)&lt;/P&gt;&lt;P&gt;create table banners as select * from connection to implink&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;select * from(&lt;/P&gt;&lt;P&gt;select ccsid,mis_dt&lt;/P&gt;&lt;P&gt;from event&lt;/P&gt;&lt;P&gt;where mis_dt = '2021-04-28'&lt;/P&gt;&lt;P&gt;)b&lt;/P&gt;&lt;P&gt;)a;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run with 'ccsid' in select it runs and gives o/p. But on adding mis_dt it gives the mentioned error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 01 May 2021 11:20:35 GMT</pubDate>
    <dc:creator>anandmgjsa</dc:creator>
    <dc:date>2021-05-01T11:20:35Z</dc:date>
    <item>
      <title>Connection SAS EG to impala</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-SAS-EG-to-impala/m-p/738318#M230286</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am connecting to Impala. When I am using single variable, there is no error.But if i add another variable a cli error comes.&lt;/P&gt;&lt;P&gt;Error is:CLI prepare error: [cloudera][ImpalaODbC] Query analysis error occured during query execution.&lt;/P&gt;&lt;P&gt;I am using the below code:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;%conxnimp(eap_v,implink,db,dbmax_test = 30)&lt;/P&gt;&lt;P&gt;create table banners as select * from connection to implink&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;select * from(&lt;/P&gt;&lt;P&gt;select ccsid,mis_dt&lt;/P&gt;&lt;P&gt;from event&lt;/P&gt;&lt;P&gt;where mis_dt = '2021-04-28'&lt;/P&gt;&lt;P&gt;)b&lt;/P&gt;&lt;P&gt;)a;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run with 'ccsid' in select it runs and gives o/p. But on adding mis_dt it gives the mentioned error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 11:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-SAS-EG-to-impala/m-p/738318#M230286</guid>
      <dc:creator>anandmgjsa</dc:creator>
      <dc:date>2021-05-01T11:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connection SAS EG to impala</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-SAS-EG-to-impala/m-p/738365#M230312</link>
      <description>&lt;P&gt;There is definitely an unnecessary select * in your code (code should still be valid though).&lt;/P&gt;
&lt;P&gt;What happens if you execute below with one select * removed and with a semicolon after the macro call (just in case the macro call doesn't create a connect statement that ends with a semicolon).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options sastrace=',,,d' sastraceloc=saslog nostsuffix;
proc sql;
  %conxnimp(eap_v,implink,db,dbmax_test = 30);
  create table banners as 
    select * 
    from connection to implink
      (
        select ccsid,mis_dt
        from event
        where mis_dt = '2021-04-28'
      )
    ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 May 2021 02:08:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-SAS-EG-to-impala/m-p/738365#M230312</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-05-02T02:08:16Z</dc:date>
    </item>
  </channel>
</rss>

