<?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 Can we use EL in falcon feed entity ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143935#M28095</link>
    <description>&lt;P&gt;@Former Member,&lt;/P&gt;&lt;P&gt;I want to use Expression Language in Feed Entity, just like the case we do in process entity For Example:&lt;/P&gt;&lt;P&gt; Process.xml&lt;/P&gt;&lt;P&gt; &amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;process name="yearWiseReplication-process" xmlns="uri:falcon:process:0.1"&amp;gt; &amp;lt;clusters&amp;gt; ..... &amp;lt;properties&amp;gt; &amp;lt;property name="feed_date" value="$&lt;STRONG&gt;{formatTime(dateOffset(instanceTime(), -1, 'DAY'),'yyyy-MM-dd')}&lt;/STRONG&gt;" /&amp;gt; &amp;lt;/properties&amp;gt; .... &amp;lt;/process&amp;gt; &lt;/P&gt;&lt;P&gt;Wanted to use in the following away, But I'm failing &lt;/P&gt;&lt;P&gt;Feed.xml &lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;feed name="yearWiseReplication-output-feed" description="yearWiseReplication-output-feed" xmlns="uri:falcon:feed:0.1"&amp;gt; .... &amp;lt;locations&amp;gt; &lt;STRONG&gt;&amp;lt;location type="data" path="/hdptmp/availabilityYear/${YEAR}-${MONTH}-${DAY-1}" /&amp;gt; &amp;lt;/locations&amp;gt;&lt;/STRONG&gt; .... &amp;lt;/feed&amp;gt; &lt;/P&gt;&lt;P&gt;My objective is to run the my job which processes previous day data(yesterday's data)&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:19:05 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2022-09-16T10:19:05Z</dc:date>
    <item>
      <title>Can we use EL in falcon feed entity ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143935#M28095</link>
      <description>&lt;P&gt;@Former Member,&lt;/P&gt;&lt;P&gt;I want to use Expression Language in Feed Entity, just like the case we do in process entity For Example:&lt;/P&gt;&lt;P&gt; Process.xml&lt;/P&gt;&lt;P&gt; &amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;process name="yearWiseReplication-process" xmlns="uri:falcon:process:0.1"&amp;gt; &amp;lt;clusters&amp;gt; ..... &amp;lt;properties&amp;gt; &amp;lt;property name="feed_date" value="$&lt;STRONG&gt;{formatTime(dateOffset(instanceTime(), -1, 'DAY'),'yyyy-MM-dd')}&lt;/STRONG&gt;" /&amp;gt; &amp;lt;/properties&amp;gt; .... &amp;lt;/process&amp;gt; &lt;/P&gt;&lt;P&gt;Wanted to use in the following away, But I'm failing &lt;/P&gt;&lt;P&gt;Feed.xml &lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;feed name="yearWiseReplication-output-feed" description="yearWiseReplication-output-feed" xmlns="uri:falcon:feed:0.1"&amp;gt; .... &amp;lt;locations&amp;gt; &lt;STRONG&gt;&amp;lt;location type="data" path="/hdptmp/availabilityYear/${YEAR}-${MONTH}-${DAY-1}" /&amp;gt; &amp;lt;/locations&amp;gt;&lt;/STRONG&gt; .... &amp;lt;/feed&amp;gt; &lt;/P&gt;&lt;P&gt;My objective is to run the my job which processes previous day data(yesterday's data)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:19:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143935#M28095</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2022-09-16T10:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use EL in falcon feed entity ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143936#M28096</link>
      <description>&lt;P&gt;You cannot use ${DAY-1} in feed. IF you want to process previous day's data then you can achieve it using process by using yesterday EL expression.&lt;/P&gt;&lt;PRE&gt;&amp;lt;inputs&amp;gt;
        &amp;lt;input name="input" feed="SampleInput" start="yesterday(0,0)" end="today(-1,0)" /&amp;gt;
    &amp;lt;/inputs&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 May 2016 02:02:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143936#M28096</guid>
      <dc:creator>sramesh</dc:creator>
      <dc:date>2016-05-13T02:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use EL in falcon feed entity ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143937#M28097</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/377/sramesh.html" nodeid="377"&gt;@Sowmya Ramesh&lt;/A&gt;, I will try and will let you know. &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 18:50:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-EL-in-falcon-feed-entity/m-p/143937#M28097</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-05-13T18:50:10Z</dc:date>
    </item>
  </channel>
</rss>

