<?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: Business Days in Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154289#M20634</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1473/colorsoflife.html" nodeid="1473"&gt;@Mamta Chawla&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you need to come up with your own logic based on &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;look at datediff function and then just figure out whether it's a business day, you can also write your own UDF. &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-CreatingCustomUDFs" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-CreatingCustomUDFs&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2016 00:32:07 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-24T00:32:07Z</dc:date>
    <item>
      <title>Business Days in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154288#M20633</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to calculate no. of business days between two dates using hive queries. How can I do it??&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mamta&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 00:28:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154288#M20633</guid>
      <dc:creator>colorsoflife</dc:creator>
      <dc:date>2016-02-24T00:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Business Days in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154289#M20634</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1473/colorsoflife.html" nodeid="1473"&gt;@Mamta Chawla&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you need to come up with your own logic based on &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;look at datediff function and then just figure out whether it's a business day, you can also write your own UDF. &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-CreatingCustomUDFs" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-CreatingCustomUDFs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 00:32:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154289#M20634</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-24T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Business Days in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154290#M20635</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1473/colorsoflife.html" nodeid="1473"&gt;@Mamta Chawla&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this &lt;A href="https://www.pythian.com/blog/calculating-business-days-in-hiveql/" target="_blank"&gt;https://www.pythian.com/blog/calculating-business-days-in-hiveql/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 00:50:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154290#M20635</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-24T00:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Business Days in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154291#M20636</link>
      <description>&lt;P&gt;More information &lt;A href="https://github.com/pythian/hive-udfs"&gt;https://github.com/pythian/hive-udfs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 00:51:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Business-Days-in-Hive/m-p/154291#M20636</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-24T00:51:36Z</dc:date>
    </item>
  </channel>
</rss>

