<?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: Is it mandatory to have partition on hive table while using in Apache Falcon? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109627#M30175</link>
    <description>&lt;P&gt;&lt;A rel="user" href="#"&gt;@Manoj Dhake&lt;/A&gt; , Falcon does schedule the data loading which is suppose to be continuous in nature. An example would be loading data on daily basis. It makes sense to have partition based on day &amp;#27;so that new data on a &amp;#27;daily basis would be loaded into the appropriate partition. Your query looks like an one time query not required to be scheduled (My understanding). Let me know if you have a specific requirement in which you want to do this way.&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2016 16:53:06 GMT</pubDate>
    <dc:creator>saktheesh_kumar</dc:creator>
    <dc:date>2016-05-31T16:53:06Z</dc:date>
    <item>
      <title>Is it mandatory to have partition on hive table while using in Apache Falcon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109626#M30174</link>
      <description>&lt;P&gt;I have ran two or more examples of hive data pipeline line using Apache Falcon by creating Hive table URI(input feed/output feed) Feed.Here are the problem statements,&lt;/P&gt;&lt;P&gt;statements:&lt;/P&gt;&lt;P&gt;1) Inserting data from one hive table to another table.&lt;/P&gt;&lt;P&gt;2)loading data from HDFS to hive table.&lt;/P&gt;&lt;P&gt;Above both data pipeline are running perfectly but now my requirement is somewhat like,&lt;/P&gt;&lt;P&gt;Requirement:-&lt;/P&gt;&lt;P&gt;I have 3 external hive tables(without partition),written 1 SELECT query on top of that and wants to load data into another hive table using Falcon.I know, I will have to use INSERT OVERWRITE INTO TABLE table2...... SELECT col1,col2 from table1 query but a question is &lt;/P&gt;&lt;P&gt;Does Falcon will allow me to create TABLE URI FEED on without partition table?&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Tables:&lt;/P&gt;&lt;P&gt;1) patient&lt;/P&gt;&lt;P&gt;2)Observation&lt;/P&gt;&lt;P&gt;3)DiagnosticReport&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;SELECT query:&lt;/P&gt;&lt;P&gt;select p.id,p.gender, p.Age, p.birthdate, o.component[1].valuequantity.value, o.component[1].valuequantity.unit
from (select *, floor(datediff(to_date(from_unixtime(unix_timestamp())), to_date(birthdate)) / 365.25) as Age  FROM patient) p inner join DiagnosticReport d on p.id = substr(d.subject.reference,9) inner join Observation o on p.id = substr(o.subject.reference,9)
where p.Age&amp;gt;17 and p.Age&amp;lt;86 and o.component[1].valuequantity.value &amp;lt;140;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 13:17:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109626#M30174</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-05-31T13:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it mandatory to have partition on hive table while using in Apache Falcon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109627#M30175</link>
      <description>&lt;P&gt;&lt;A rel="user" href="#"&gt;@Manoj Dhake&lt;/A&gt; , Falcon does schedule the data loading which is suppose to be continuous in nature. An example would be loading data on daily basis. It makes sense to have partition based on day &amp;#27;so that new data on a &amp;#27;daily basis would be loaded into the appropriate partition. Your query looks like an one time query not required to be scheduled (My understanding). Let me know if you have a specific requirement in which you want to do this way.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 16:53:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109627#M30175</guid>
      <dc:creator>saktheesh_kumar</dc:creator>
      <dc:date>2016-05-31T16:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it mandatory to have partition on hive table while using in Apache Falcon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109628#M30176</link>
      <description>&lt;P&gt;Thank you Saktheesh,&lt;/P&gt;&lt;PRE&gt;&amp;lt;table uri="catalog:tmp_rishav:rec_count_tbl#feed_date=${YEAR}-${MONTH}-${DAY}" /&amp;gt;
but can I remove "feed_date=${YEAR}-${MONTH}-${DAY}" from above statement and use it in falcon.
Is mandatory to use in falcon?&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 May 2016 19:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109628#M30176</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-05-31T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it mandatory to have partition on hive table while using in Apache Falcon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109629#M30177</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10447/manoj-dhake.html" nodeid="10447"&gt;@Manoj Dhake&lt;/A&gt; If you use table feed, you have to define partition. For your case where you don't want to specify partition, you can use process with hive engine: &lt;A href="https://falcon.apache.org/0.4-incubating/docs/EntitySpecification.html#Hive" target="_blank"&gt;https://falcon.apache.org/0.4-incubating/docs/EntitySpecification.html#Hive&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 08:51:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-mandatory-to-have-partition-on-hive-table-while-using/m-p/109629#M30177</guid>
      <dc:creator>yzheng</dc:creator>
      <dc:date>2016-06-01T08:51:41Z</dc:date>
    </item>
  </channel>
</rss>

