<?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 Error while creating table via tHIVEROW in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281308#M55885</link>
    <description>Hi,
&lt;BR /&gt;I am getting the following error while executing the talend hive-load job
&lt;BR /&gt;
&lt;FONT color="#ff3333"&gt;"Error while compiling statement: FAILED: ParseException line 2:2 cannot recognize input near 'exchange' 'STRING' ',' in column specificationError while compiling statement"&lt;/FONT&gt;
&lt;BR /&gt;My hive query is as follows: please let me know what is the issue with my query
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;"create table &amp;nbsp;if not exists NYSE_daily_price&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp;(exchange STRING,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_symbol STRING,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_date DATE,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_price_open FLOAT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_price_high FLOAT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_price_low FLOAT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_volume INT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_avg_price_close FLOAT)&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; row format delimited&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; fields terminated BY ';'&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; location '/user/cloudera/talendfilesnew/NYSE_daily_price'"&lt;/FONT&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:47:41 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T10:47:41Z</dc:date>
    <item>
      <title>Error while creating table via tHIVEROW</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281308#M55885</link>
      <description>Hi,
&lt;BR /&gt;I am getting the following error while executing the talend hive-load job
&lt;BR /&gt;
&lt;FONT color="#ff3333"&gt;"Error while compiling statement: FAILED: ParseException line 2:2 cannot recognize input near 'exchange' 'STRING' ',' in column specificationError while compiling statement"&lt;/FONT&gt;
&lt;BR /&gt;My hive query is as follows: please let me know what is the issue with my query
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;"create table &amp;nbsp;if not exists NYSE_daily_price&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp;(exchange STRING,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_symbol STRING,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_date DATE,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_price_open FLOAT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_price_high FLOAT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_price_low FLOAT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_volume INT,&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; stock_avg_price_close FLOAT)&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; row format delimited&amp;nbsp;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; fields terminated BY ';'&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#6633ff"&gt;&amp;nbsp; location '/user/cloudera/talendfilesnew/NYSE_daily_price'"&lt;/FONT&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281308#M55885</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T10:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating table via tHIVEROW</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281309#M55886</link>
      <description>I came across a post in stackoverflow.com that may help you:&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/27899049/failed-parseexception-cannot-recognize-input-near-exchange-string-in-c" target="_blank" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/27899049/failed-parseexception-cannot-recognize-input-near-exchange-string-in-c&lt;/A&gt;</description>
      <pubDate>Thu, 18 Feb 2016 13:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281309#M55886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-18T13:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating table via tHIVEROW</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281310#M55887</link>
      <description>Hi asadri, Thank you for the solution. I changed the column name it is working. But I am getting another error when querying the table&lt;BR /&gt;How you do you fix this error? please help me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;Error while compiling statement: FAILED: SemanticException Unable to determine if hdfs://192.168.421.10:8020/user/cloudera/talendfilesnew/stocks is encrypted: java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.421.10:8020/user/cloudera/talendfilesnew/stocks, expected: hdfs://quickstart.cloudera:8020&lt;/FONT&gt;</description>
      <pubDate>Sat, 20 Feb 2016 21:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-creating-table-via-tHIVEROW/m-p/2281310#M55887</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-02-20T21:41:48Z</dc:date>
    </item>
  </channel>
</rss>

