<?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: QUERY ERROR in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231075#M21501</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp; thanks for the quick response.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The query is in thiverow component and now I have this error&lt;/P&gt; 
&lt;P&gt;FAILED: ParseException line 1:41 cannot recognize input near ')' '&amp;lt;EOF&amp;gt;' '&amp;lt;EOF&amp;gt;' in value row constructor.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also in tsetglobalvar i set the "mykey1" to row3.ID. Is this the correct way to assign a row's value into a key in tsetglobalvar?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 06:24:36 GMT</pubDate>
    <dc:creator>DrGenious</dc:creator>
    <dc:date>2020-03-05T06:24:36Z</dc:date>
    <item>
      <title>QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231073#M21499</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to make this query:&lt;/P&gt; 
&lt;P&gt;" INSERT INTO TABLE thodoris VALUES (((String)globalMap.get('mykey1')), ((String)globalMap.get('mykey2')))"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;but i have this error :&lt;/P&gt; 
&lt;P&gt;[ERROR]: etisalat.test_table_0_1.test_table - tHiveRow_2 - Error while compiling statement: FAILED: ParseException line 1:45 mismatched input 'globalMap' expecting ) near ')' in value row constructor&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someon help me ?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 06:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231073#M21499</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-05T06:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231074#M21500</link>
      <description>It is a syntax error in the query, change it to: 
&lt;BR /&gt;" INSERT INTO TABLE thodoris VALUES ("+((String)globalMap.get("mykey1"))+","+ ((String)globalMap.get("mykey2"))+")" 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 05 Mar 2020 06:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231074#M21500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-05T06:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231075#M21501</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp; thanks for the quick response.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The query is in thiverow component and now I have this error&lt;/P&gt; 
&lt;P&gt;FAILED: ParseException line 1:41 cannot recognize input near ')' '&amp;lt;EOF&amp;gt;' '&amp;lt;EOF&amp;gt;' in value row constructor.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also in tsetglobalvar i set the "mykey1" to row3.ID. Is this the correct way to assign a row's value into a key in tsetglobalvar?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 06:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231075#M21501</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-05T06:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231076#M21502</link>
      <description>Hi
&lt;BR /&gt;Make sure the value of global variable is gotten correctly. For testing, print the value of global variable on console to check the value before they are used.
&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2020 08:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231076#M21502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-05T08:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231077#M21503</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ok I will do it.But for insert into ? Can you help me with the problem that I have?&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;FAILED: ParseException line 1:41 cannot recognize input near ')' '&amp;lt;EOF&amp;gt;' '&amp;lt;EOF&amp;gt;' in value row constructor.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I set global vars in a tjavarow like :&amp;nbsp;globalMap.put("varId", input_row.Id);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; globalMap.put("varName", input_row.Name);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 09:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231077#M21503</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-05T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231078#M21504</link>
      <description>&lt;P&gt;change it to &lt;BR /&gt;" INSERT INTO TABLE thodoris VALUES ("+(String)globalMap.get("mykey1")+","+ (String)globalMap.get("mykey2")+")"&lt;BR /&gt;&lt;BR /&gt;and Make sure the value of global variable is not null, please test and let me know if it works. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 12:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231078#M21504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-05T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231079#M21505</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It worked fine. Although I tried this :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9xY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150726iFCB578322427061B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9xY.png" alt="0683p000009M9xY.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;And it shows me this :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[WARN ]: org.apache.hadoop.util.Shell - Did not find winutils.exe: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see &lt;A href="https://wiki.apache.org/hadoop/WindowsProblems" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://wiki.apache.org/hadoop/WindowsProblems&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(SOS)And this error :&lt;/P&gt; 
&lt;P&gt;[ERROR]: test_table - tHiveRow_2 - Error while compiling statement: FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type . not supported in insert/values&amp;nbsp;&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; 
&lt;P&gt;My tjavarow:&lt;/P&gt; 
&lt;P&gt;globalMap.put("id", input_row.id);&lt;BR /&gt;globalMap.put("name", input_row.name);&lt;BR /&gt;globalMap.put("created_time", input_row.created_time);&lt;BR /&gt;globalMap.put("mac", input_row.mac);&lt;BR /&gt;globalMap.put("ip", input_row.ip);&lt;BR /&gt;globalMap.put("duration", input_row.duration);&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My query in thiverow:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"INSERT INTO TABLE omg VALUES ("+((String)globalMap.get("id"))+","+ ((String)globalMap.get("name"))+","+ ((String)globalMap.get("created_time"))+","+ ((String)globalMap.get("mac"))+","+ ((String)globalMap.get("ip"))+","+ ((String)globalMap.get("duration"))+")"&lt;/P&gt; 
&lt;P&gt;This happens only on this job which has json.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 13:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231079#M21505</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-05T13:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231080#M21506</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp; It worked fine but now that I put twaitforfile and a jsoninput I have this error.&lt;/P&gt; 
&lt;P&gt;[ERROR]:table_0_1.test_table - tHiveRow_2 - Error while compiling statement: FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type . not supported in insert/values&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 13:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231080#M21506</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-05T13:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231081#M21507</link>
      <description>Hi 
&lt;BR /&gt;Refer to the answers in this page, 
&lt;BR /&gt; 
&lt;A href="https://community.cloudera.com/t5/Support-Questions/Insert-values-in-Array-data-type-Hive/td-p/120459" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.cloudera.com/t5/Support-Questions/Insert-values-in-Array-data-type-Hive/td-p/120459&lt;/A&gt; 
&lt;BR /&gt;have a try to change your query to format: 
&lt;BR /&gt;INSERT INTO TABLE thodoris Select "+(String)globalMap.get("mykey1")+","+ (String)globalMap.get("mykey2")</description>
      <pubDate>Fri, 06 Mar 2020 00:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231081#M21507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-06T00:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ERROR</title>
      <link>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231082#M21508</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried also with select and it throws me these errors:&lt;/P&gt; 
&lt;P&gt;ParseException line 1:42 cannot recognize input near ')' '&amp;lt;EOF&amp;gt;' '&amp;lt;EOF&amp;gt;' in expression specification&lt;/P&gt; 
&lt;P&gt;"INSERT INTO TABLE omg SELECT ("+(String)globalMap.get("Id")+","+ (String)globalMap.get("Name")+")"&lt;/P&gt; 
&lt;P&gt;//&lt;/P&gt; 
&lt;P&gt;ParseException line 1:41 cannot recognize input near '&amp;lt;EOF&amp;gt;' '&amp;lt;EOF&amp;gt;' '&amp;lt;EOF&amp;gt;' in selection target&lt;/P&gt; 
&lt;P&gt;"INSERT INTO TABLE omg SELECT "+(String)globalMap.get("Id")+","+ (String)globalMap.get("Name")+""&lt;/P&gt; 
&lt;P&gt;//&lt;/P&gt; 
&lt;P&gt;If I dont put "" on the statement it throws an error that it is missing a (&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; at INTO.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 11:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/QUERY-ERROR/m-p/2231082#M21508</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-08T11:51:53Z</dc:date>
    </item>
  </channel>
</rss>

