<?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 SemanticException at beeline when NULL in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SemanticException-at-beeline-when-NULL/m-p/241451#M203254</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When i do a SELECT null; at cli hive i get a good answer  -&amp;gt; NULL&lt;/P&gt;&lt;P&gt;when i do this in beeline , i get &lt;/P&gt;&lt;P&gt;Error: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line 1:7 Invalid table alias or column reference 'null': (possible column names are: ) (state=42000,code=10004)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;this is working on one of my clusters but not in one of them &lt;/P&gt;&lt;P&gt;(hdp 2.6.1  &lt;/P&gt;&lt;P&gt;Connected to: Apache Hive (version 2.1.0.2.6.1.0-129)&lt;BR /&gt;Driver: Hive JDBC (version 1.2.1000.2.6.1.0-129)&lt;BR /&gt;Transaction isolation: TRANSACTION_REPEATABLE_READ&lt;BR /&gt;Beeline version 1.2.1000.2.6.1.0-129 by Apache Hive&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;i need this to work, since when i query &lt;/P&gt;&lt;P&gt; INSERT OVERWRITE TABLE schema.customer&lt;BR /&gt;SELECT CUST_ACCOUNTS&lt;BR /&gt;otherschema.CUST_ACCOUNT_ID,&lt;BR /&gt;NULL AS ACCOUNT&lt;BR /&gt;FROM xxxx  ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;i really appreciate any help&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 21:41:11 GMT</pubDate>
    <dc:creator>MarceloSaiedOK</dc:creator>
    <dc:date>2019-05-31T21:41:11Z</dc:date>
    <item>
      <title>SemanticException at beeline when NULL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SemanticException-at-beeline-when-NULL/m-p/241451#M203254</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When i do a SELECT null; at cli hive i get a good answer  -&amp;gt; NULL&lt;/P&gt;&lt;P&gt;when i do this in beeline , i get &lt;/P&gt;&lt;P&gt;Error: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line 1:7 Invalid table alias or column reference 'null': (possible column names are: ) (state=42000,code=10004)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;this is working on one of my clusters but not in one of them &lt;/P&gt;&lt;P&gt;(hdp 2.6.1  &lt;/P&gt;&lt;P&gt;Connected to: Apache Hive (version 2.1.0.2.6.1.0-129)&lt;BR /&gt;Driver: Hive JDBC (version 1.2.1000.2.6.1.0-129)&lt;BR /&gt;Transaction isolation: TRANSACTION_REPEATABLE_READ&lt;BR /&gt;Beeline version 1.2.1000.2.6.1.0-129 by Apache Hive&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;i need this to work, since when i query &lt;/P&gt;&lt;P&gt; INSERT OVERWRITE TABLE schema.customer&lt;BR /&gt;SELECT CUST_ACCOUNTS&lt;BR /&gt;otherschema.CUST_ACCOUNT_ID,&lt;BR /&gt;NULL AS ACCOUNT&lt;BR /&gt;FROM xxxx  ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;i really appreciate any help&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 21:41:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SemanticException-at-beeline-when-NULL/m-p/241451#M203254</guid>
      <dc:creator>MarceloSaiedOK</dc:creator>
      <dc:date>2019-05-31T21:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: SemanticException at beeline when NULL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SemanticException-at-beeline-when-NULL/m-p/241452#M203255</link>
      <description>&lt;P&gt;the fix is to set this: `set hive.support.sql11.reserved.keywords=true;`&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 22:57:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SemanticException-at-beeline-when-NULL/m-p/241452#M203255</guid>
      <dc:creator>MarceloSaiedOK</dc:creator>
      <dc:date>2019-05-31T22:57:55Z</dc:date>
    </item>
  </channel>
</rss>

