<?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: User defined properties and EL on QueryDatabaseTable using Apache Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216033#M60293</link>
    <description>&lt;P&gt;The documentation of the user defined properties for QueryDatabaseTable says:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Initial Max Value
Attribute Expression Language&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Specifies
 an initial max value for max value columns. Properties should be added 
in the format `initial.maxvalue.{max_value_column}`.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So these are meant to be used to specify the initial value of a max value column.&lt;/P&gt;&lt;P&gt;To add attributes to the flow files for down stream processing you can use an UpdateAttribute processor right after QueryDatabaseTable.&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2017 20:03:20 GMT</pubDate>
    <dc:creator>bbende</dc:creator>
    <dc:date>2017-05-01T20:03:20Z</dc:date>
    <item>
      <title>User defined properties and EL on QueryDatabaseTable using Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216032#M60292</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi guys.  I'm using
Apache Nifi 1.1.2 and am unable to access user defined attributes when using
the QueryDatabaseTable processer. Each
of the default attributes on the processer state they not EL accessible but I
am able to define my own attributes that are accessible (according to the help
prompt (?) next to the attribute) and I’m hoping to use these attributes downstream when
writing data to a hdfs location.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I add the following user
defined attributes to a QueryDatabaseTable processer reading data from
MyTableSchema.MyTableName&lt;/P&gt;&lt;P&gt;tableName - MyTableName&lt;/P&gt;&lt;P&gt;tableSchema -
MyTableSchema &lt;/P&gt;&lt;P&gt;I’m hoping to use this
information (together with a PutHDFS processer and EL) to write the incremental
data from MyTableSchema.MyTableName to hdfs location /MyTableSchema.MyTableName/flowfileid.  Is the entire QueryDatabaseTable not accessible
with EL even though I am able to add my own attributes to it? &lt;/P&gt;&lt;P&gt;Any advice would
be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14953-nifiquerydbtable.png" style="width: 798px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16271iDBC540FC3F587F6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14953-nifiquerydbtable.png" alt="14953-nifiquerydbtable.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 03:13:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216032#M60292</guid>
      <dc:creator>dwanehall</dc:creator>
      <dc:date>2019-08-18T03:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: User defined properties and EL on QueryDatabaseTable using Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216033#M60293</link>
      <description>&lt;P&gt;The documentation of the user defined properties for QueryDatabaseTable says:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Initial Max Value
Attribute Expression Language&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Specifies
 an initial max value for max value columns. Properties should be added 
in the format `initial.maxvalue.{max_value_column}`.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So these are meant to be used to specify the initial value of a max value column.&lt;/P&gt;&lt;P&gt;To add attributes to the flow files for down stream processing you can use an UpdateAttribute processor right after QueryDatabaseTable.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 20:03:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216033#M60293</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2017-05-01T20:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: User defined properties and EL on QueryDatabaseTable using Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216034#M60294</link>
      <description>&lt;P&gt;Thanks Bryan, much appreciated.  I wrongly assumed you could add your own properties (in addition to the dynamic ones) on any Processer that allowed you to do so. &lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 05:33:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-defined-properties-and-EL-on-QueryDatabaseTable-using/m-p/216034#M60294</guid>
      <dc:creator>dwanehall</dc:creator>
      <dc:date>2017-05-02T05:33:00Z</dc:date>
    </item>
  </channel>
</rss>

