<?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: Execute HQL Context variable in thiveinput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278480#M53944</link>
    <description>It's a compilation error, change the query to &lt;BR /&gt;"select distinct XXXXXXXXXXXXX from "+context.db_name+"."+context.view_name"</description>
    <pubDate>Wed, 04 Dec 2019 09:21:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-04T09:21:59Z</dc:date>
    <item>
      <title>Execute HQL Context variable in thiveinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278477#M53941</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Im trying to execute hql query from contextvariable in thiveinput&lt;/P&gt;&lt;P&gt;If my context variable has hard code values then its working fine.&lt;/P&gt;&lt;P&gt;If im reading another context variable the it throw error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278477#M53941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Execute HQL Context variable in thiveinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278478#M53942</link>
      <description>For testing, print the value of context variable on the console to check if the context variable is assigned value correctly. If you can't still solve it, please upload a screenshot of job and show us the error. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Nov 2019 00:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278478#M53942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-29T00:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Execute HQL Context variable in thiveinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278479#M53943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Print result is good but not reading the other variables in query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my query in variable:&lt;/P&gt;&lt;P&gt;"select distinct XXXXXXXXXXXXX from +context.db_name+.+context.view_name"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;tHiveInput_1 Error while compiling statement: FAILED: ParseException line 1:109 cannot recognize input near '+' 'context' '.' in join source&lt;BR /&gt;org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:109 cannot recognize input near '+' 'context' '.' in join source&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx3t"&gt;Error.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 02 Dec 2019 17:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278479#M53943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-02T17:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Execute HQL Context variable in thiveinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278480#M53944</link>
      <description>It's a compilation error, change the query to &lt;BR /&gt;"select distinct XXXXXXXXXXXXX from "+context.db_name+"."+context.view_name"</description>
      <pubDate>Wed, 04 Dec 2019 09:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-HQL-Context-variable-in-thiveinput/m-p/2278480#M53944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-04T09:21:59Z</dc:date>
    </item>
  </channel>
</rss>

