<?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 Hive trunc function to extract quarter just like sql trunc(column,'q) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159586#M57190</link>
    <description />
    <pubDate>Thu, 16 Mar 2017 11:17:12 GMT</pubDate>
    <dc:creator>gi</dc:creator>
    <dc:date>2017-03-16T11:17:12Z</dc:date>
    <item>
      <title>Hive trunc function to extract quarter just like sql trunc(column,'q)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159586#M57190</link>
      <description />
      <pubDate>Thu, 16 Mar 2017 11:17:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159586#M57190</guid>
      <dc:creator>gi</dc:creator>
      <dc:date>2017-03-16T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hive trunc function to extract quarter just like sql trunc(column,'q)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159587#M57191</link>
      <description>&lt;P&gt;Do you need quarter of the year for some date, timestamp, or string? If yes then Hive already has a built-in date functions defined for it :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;quarter(date/timestamp/string)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&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;</description>
      <pubDate>Thu, 16 Mar 2017 12:30:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159587#M57191</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-16T12:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hive trunc function to extract quarter just like sql trunc(column,'q)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159588#M57192</link>
      <description>&lt;P&gt;In the Hive version prior to 2.2.0 there is no function available, I added support for it recently, see &lt;A href="https://issues.apache.org/jira/browse/HIVE-16234"&gt;HIVE-16234&lt;/A&gt;. Example&lt;/P&gt;&lt;PRE&gt;SELECT trunc('2017-03-15', 'Q');
'2017-01-01'&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Mar 2017 09:37:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-trunc-function-to-extract-quarter-just-like-sql-trunc/m-p/159588#M57192</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-03-23T09:37:13Z</dc:date>
    </item>
  </channel>
</rss>

