<?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: Supported functions in Hive ODBC driver in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351598#M236315</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/100258"&gt;@Markyd&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Functions used in Hive queries are usually passed to the Hive service as is. I don't think the ODBC driver does any particular processing or validation of those functions. At the end of the day it's a matter of whether the Hive version you're using supports that function or not, and this depends on the Hive version being used, not the driver version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you can see a comprehensive list of Hive functions and the associated Hive version where they were introduced:&amp;nbsp;&lt;A href="https://cwiki.apache.org/confluence/display/hive/languagemanual+udf" target="_blank"&gt;https://cwiki.apache.org/confluence/display/hive/languagemanual+udf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which version of Hive are you using?&lt;/P&gt;&lt;P&gt;Are you using the Cloudera ODBC Drivers for Hive? Which version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 11:17:37 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-09-06T11:17:37Z</dc:date>
    <item>
      <title>Supported functions in Hive ODBC driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351550#M236308</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm looking for a list of supported ODBC functions in the HIVE ODBC driver..&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a particular issue with&amp;nbsp; { fn EXTRACT(YEAR FROM "datecolumn")&amp;nbsp; } which is not recognised&amp;nbsp; but a comprehensive list would be great.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 08:49:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351550#M236308</guid>
      <dc:creator>Markyd</dc:creator>
      <dc:date>2022-09-06T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Supported functions in Hive ODBC driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351598#M236315</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/100258"&gt;@Markyd&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Functions used in Hive queries are usually passed to the Hive service as is. I don't think the ODBC driver does any particular processing or validation of those functions. At the end of the day it's a matter of whether the Hive version you're using supports that function or not, and this depends on the Hive version being used, not the driver version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you can see a comprehensive list of Hive functions and the associated Hive version where they were introduced:&amp;nbsp;&lt;A href="https://cwiki.apache.org/confluence/display/hive/languagemanual+udf" target="_blank"&gt;https://cwiki.apache.org/confluence/display/hive/languagemanual+udf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which version of Hive are you using?&lt;/P&gt;&lt;P&gt;Are you using the Cloudera ODBC Drivers for Hive? Which version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 11:17:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351598#M236315</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-06T11:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Supported functions in Hive ODBC driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351640#M236323</link>
      <description>&lt;P&gt;Thanks for the info, that's very useful.&amp;nbsp;It's Hive 3.1.2, Cloudera ODBC for Hive 2.6.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly I get the following results querying though the ODBC driver (use native query = false)&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&lt;SPAN&gt;extract (year FROM "datecolumn")&amp;nbsp; &amp;nbsp;-- accepted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT { fn extract (year FROM "datecolumn")&amp;nbsp; }&amp;nbsp;--&amp;nbsp;ParseException&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and yet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT { fn year("datecolumn") } - accepted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So there may be an inconsistency in the way the driver parses the ODBC function syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 17:57:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Supported-functions-in-Hive-ODBC-driver/m-p/351640#M236323</guid>
      <dc:creator>Markyd</dc:creator>
      <dc:date>2022-09-06T17:57:03Z</dc:date>
    </item>
  </channel>
</rss>

