<?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: Issues with query parameter in getmongo processor nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359676#M238165</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;Hello, gt is supposed to be greater than right ? I want to have a date filter/condition stating my date column("updatedAt") should be greater than yesterday i.e. to fetch only the daily new records from my mongoDb database&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 05:14:22 GMT</pubDate>
    <dc:creator>Jaimin7</dc:creator>
    <dc:date>2022-12-16T05:14:22Z</dc:date>
    <item>
      <title>Issues with query parameter in getmongo processor nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359544#M238143</link>
      <description>&lt;P&gt;I am trying to write the below query in getMongo processor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"updatedAt" : {$gt : 2022-12-10}}&lt;BR /&gt;&lt;BR /&gt;But it is showing an error stating that query is not a valid JSON representation. I tried adding double quotes as well but when I run it, it doesn't show any error nor any results in success, failure or original nodes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My end goal is to fetch incremental data i.e. only the new data added daily (day -1) using "updatedAt" field. Kindly help me with this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 06:53:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359544#M238143</guid>
      <dc:creator>Jaimin7</dc:creator>
      <dc:date>2022-12-15T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with query parameter in getmongo processor nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359588#M238155</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102433"&gt;@Jaimin7&lt;/a&gt;&amp;nbsp;assuming "gt" is your parameter, that would be referenced as #{gt} and i think would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"updatedAt" : {#{gt} : 2022-12-10}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If "gt" is your variable, that would be represented as ${gt} and that would then be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"updatedAt" : {${gt} : 2022-12-10}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Preference going forward is to use Paramaters as Variables will be going away soon.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:12:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359588#M238155</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-12-15T14:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with query parameter in getmongo processor nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359676#M238165</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;Hello, gt is supposed to be greater than right ? I want to have a date filter/condition stating my date column("updatedAt") should be greater than yesterday i.e. to fetch only the daily new records from my mongoDb database&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 05:14:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359676#M238165</guid>
      <dc:creator>Jaimin7</dc:creator>
      <dc:date>2022-12-16T05:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with query parameter in getmongo processor nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359704#M238169</link>
      <description>&lt;P&gt;Ahh my confusion, it is hard to assume without a lot more detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#gt" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#gt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;${fileSize:gt( 1024 )}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You need to use the expression "gt( some value )" against a parameter or variable.&amp;nbsp; In the case above, "file size greater than 1024".&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 12:43:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issues-with-query-parameter-in-getmongo-processor-nifi/m-p/359704#M238169</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-12-16T12:43:30Z</dc:date>
    </item>
  </channel>
</rss>

