<?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 ParseException while trying to execute a &amp;quot;SHOW VIEWS&amp;quot; command in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160700#M57248</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't understand what is happenning. I am desperately trying to make work a simple "SHOW VIEWS" command and I always get a ParseException error (cannot recognize input near 'show' 'views').&lt;/P&gt;&lt;P&gt;I believe the command must not return an error even if no view were created ? Anyway, I created a view juste in case.&lt;/P&gt;&lt;P&gt;Here are the command I tried and that returned me ParseException errors:&lt;/P&gt;&lt;PRE&gt;SHOW VIEWS;

SHOW VIEWS IN mydatabase;

SHOW VIEWS FROM mydatabase;
&lt;/PRE&gt;&lt;P&gt;Very simple ones. I am running a 2.4 version of Hive so I believe it is not a version issue.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;Sylvain.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 23:43:40 GMT</pubDate>
    <dc:creator>dvt_isoft</dc:creator>
    <dc:date>2017-03-16T23:43:40Z</dc:date>
    <item>
      <title>ParseException while trying to execute a "SHOW VIEWS" command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160700#M57248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't understand what is happenning. I am desperately trying to make work a simple "SHOW VIEWS" command and I always get a ParseException error (cannot recognize input near 'show' 'views').&lt;/P&gt;&lt;P&gt;I believe the command must not return an error even if no view were created ? Anyway, I created a view juste in case.&lt;/P&gt;&lt;P&gt;Here are the command I tried and that returned me ParseException errors:&lt;/P&gt;&lt;PRE&gt;SHOW VIEWS;

SHOW VIEWS IN mydatabase;

SHOW VIEWS FROM mydatabase;
&lt;/PRE&gt;&lt;P&gt;Very simple ones. I am running a 2.4 version of Hive so I believe it is not a version issue.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;Sylvain.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 23:43:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160700#M57248</guid>
      <dc:creator>dvt_isoft</dc:creator>
      <dc:date>2017-03-16T23:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: ParseException while trying to execute a "SHOW VIEWS" command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160701#M57249</link>
      <description>&lt;P&gt;There is no "show views" command in Hive. You use "show tables" and it should list the views as well. However there is an open Apache Hive issue &lt;A href="https://issues.apache.org/jira/browse/HIVE-1010"&gt;HIVE-1010&lt;/A&gt;, that will implement INFORMATION_SCHEMA in Hive which will make it possible to query views exclusively.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 00:19:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160701#M57249</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-03-17T00:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: ParseException while trying to execute a "SHOW VIEWS" command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160702#M57250</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/16652/dvt.html"&gt;@dvt isoft&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This has been introduced in Hive 2.2.0 via &lt;A href="https://issues.apache.org/jira/browse/HIVE-14558"&gt;HIVE-14558&lt;/A&gt;. Your HDP 2.4 does not have that version.&lt;/P&gt;&lt;P&gt;+++&lt;/P&gt;&lt;P&gt;Could you please vote and accept this response and also the other one regarding French characters? Even they don't resolve your immediate expectation that is the state of the software you use for test. It is still the best answer. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 00:23:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160702#M57250</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2017-03-17T00:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: ParseException while trying to execute a "SHOW VIEWS" command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160703#M57251</link>
      <description>&lt;P&gt;Thanks, useful to know that its finally been implemented.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 00:26:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ParseException-while-trying-to-execute-a-quot-SHOW-VIEWS/m-p/160703#M57251</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-03-17T00:26:13Z</dc:date>
    </item>
  </channel>
</rss>

