<?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>question Re: updating table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85371#M11664</link>
    <description>&lt;P&gt;ah&amp;nbsp; i see.&lt;/P&gt;&lt;P&gt;That makes sense now. Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 21:44:36 GMT</pubDate>
    <dc:creator>Tome</dc:creator>
    <dc:date>2019-01-23T21:44:36Z</dc:date>
    <item>
      <title>updating table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/84800#M11660</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to update a&amp;nbsp; table where date_num is&amp;nbsp; a&amp;nbsp; date(timestamp) and "day" is the field i want to update but i am getting errors&lt;/P&gt;&lt;P&gt;Anyhting wrong with the query below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT color="#800000" size="2"&gt;&lt;STRONG&gt;update&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; anp_catdidai1_working.dim_bsp_date&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2"&gt;&lt;STRONG&gt;set&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#800000" size="2"&gt;day&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#800000" size="2"&gt;day&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt;(date_num) &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:03:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/84800#M11660</guid>
      <dc:creator>Tome</dc:creator>
      <dc:date>2022-09-16T14:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: updating table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/84965#M11661</link>
      <description>What's the error you are getting?&lt;BR /&gt;&lt;BR /&gt;Have you tried to add ` around the day, since it is reserved as a UDF function? Like below:&lt;BR /&gt;&lt;BR /&gt;update anp_catdidai1_working.dim_bsp_date set `day`=day(date_num);&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2019 06:56:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/84965#M11661</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-01-16T06:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: updating table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85162#M11662</link>
      <description>&lt;P&gt;Hi EricL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error i get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL Error [500051] [HY000]: [Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Syntax error in line 1:&lt;BR /&gt;update&amp;nbsp; anp_catdidai1_working.dim_bsp_date&lt;BR /&gt;^&lt;BR /&gt;Encountered: IDENTIFIER&lt;BR /&gt;Expected: ALTER, COMPUTE, CREATE, DESCRIBE, DROP, EXPLAIN, GRANT, INSERT, INVALIDATE, LOAD, REFRESH, REVOKE, SELECT, SET, SHOW, TRUNCATE, USE, VALUES, WITH&lt;/P&gt;&lt;P&gt;CAUSED BY: Exception: Syntax error&lt;BR /&gt;), Query: update&amp;nbsp; anp_catdidai1_working.dim_bsp_date&lt;BR /&gt;set day=day(date_num).&lt;BR /&gt;&amp;nbsp; [Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Syntax error in line 1:&lt;BR /&gt;update&amp;nbsp; anp_catdidai1_working.dim_bsp_date&lt;BR /&gt;^&lt;BR /&gt;Encountered: IDENTIFIER&lt;BR /&gt;Expected: ALTER, COMPUTE, CREATE, DESCRIBE, DROP, EXPLAIN, GRANT, INSERT, INVALIDATE, LOAD, REFRESH, REVOKE, SELECT, SET, SHOW, TRUNCATE, USE, VALUES, WITH&lt;/P&gt;&lt;P&gt;CAUSED BY: Exception: Syntax error&lt;BR /&gt;), Query: update&amp;nbsp; anp_catdidai1_working.dim_bsp_date&lt;BR /&gt;set day=day(date_num).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com.cloudera.support.exceptions.GeneralException: [Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Syntax error in line 1:&lt;BR /&gt;update&amp;nbsp; anp_catdidai1_working.dim_bsp_date&lt;BR /&gt;^&lt;BR /&gt;Encountered: IDENTIFIER&lt;BR /&gt;Expected: ALTER, COMPUTE, CREATE, DESCRIBE, DROP, EXPLAIN, GRANT, INSERT, INVALIDATE, LOAD, REFRESH, REVOKE, SELECT, SET, SHOW, TRUNCATE, USE, VALUES, WITH&lt;/P&gt;&lt;P&gt;CAUSED BY: Exception: Syntax error&lt;BR /&gt;), Query: update&amp;nbsp; anp_catdidai1_working.dim_bsp_date&lt;BR /&gt;set day=day(date_num).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also&amp;nbsp; tried with 'day' and&amp;nbsp; same error&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 17:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85162#M11662</guid>
      <dc:creator>Tome</dc:creator>
      <dc:date>2019-01-20T17:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: updating table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85167#M11663</link>
      <description>UPDATE statement in Impala?&lt;BR /&gt;&lt;BR /&gt;Are you using KUDU as the underlining table? If not, then UPDATE is not supported. Please refer to below link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/impala_update.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/impala_update.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;"This statement only works for Impala tables that use the Kudu storage engine."</description>
      <pubDate>Mon, 21 Jan 2019 00:00:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85167#M11663</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-01-21T00:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: updating table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85371#M11664</link>
      <description>&lt;P&gt;ah&amp;nbsp; i see.&lt;/P&gt;&lt;P&gt;That makes sense now. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:44:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/updating-table/m-p/85371#M11664</guid>
      <dc:creator>Tome</dc:creator>
      <dc:date>2019-01-23T21:44:36Z</dc:date>
    </item>
  </channel>
</rss>

