<?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: Ingest modifiable data from SQL to HDFS using NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367144#M239808</link>
    <description>&lt;P&gt;I'm sorry, i forgot to specify that I'm working with&amp;nbsp;&lt;STRONG&gt;MS SQL Server&lt;/STRONG&gt;, not with MySQL. Is the&amp;nbsp;&lt;STRONG&gt;CaptureChangeMySQL&lt;/STRONG&gt; processor valid for MS SQL Server?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 10:10:09 GMT</pubDate>
    <dc:creator>data_eng_87</dc:creator>
    <dc:date>2023-03-29T10:10:09Z</dc:date>
    <item>
      <title>Ingest modifiable data from SQL to HDFS using NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367132#M239803</link>
      <description>&lt;P&gt;I trying to ingest a SQL Table to Hive using NiFi. This is easily done by using a QueryRecordTable. However, the records in the SQL table can be modified by hand, so they are not static.&lt;/P&gt;&lt;P&gt;Is there any way to update the data in HDFS according to the changes made in the SQL table?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 07:51:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367132#M239803</guid>
      <dc:creator>data_eng_87</dc:creator>
      <dc:date>2023-03-29T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest modifiable data from SQL to HDFS using NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367143#M239807</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;CaptureChangeMySQL&lt;/STRONG&gt; processor would be fit for your requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you found this response assisted with your issue, please take a moment and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:00:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367143#M239807</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2023-03-29T10:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest modifiable data from SQL to HDFS using NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367144#M239808</link>
      <description>&lt;P&gt;I'm sorry, i forgot to specify that I'm working with&amp;nbsp;&lt;STRONG&gt;MS SQL Server&lt;/STRONG&gt;, not with MySQL. Is the&amp;nbsp;&lt;STRONG&gt;CaptureChangeMySQL&lt;/STRONG&gt; processor valid for MS SQL Server?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:10:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367144#M239808</guid>
      <dc:creator>data_eng_87</dc:creator>
      <dc:date>2023-03-29T10:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest modifiable data from SQL to HDFS using NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367156#M239816</link>
      <description>&lt;P&gt;No, So you can evaluate&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;GenerateTableFetch --&amp;gt;ExecuteSQL&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where&amp;nbsp;GenerateTableFetch "Maximum-value Columns" setting can help.&amp;nbsp; refr &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.20.0/org.apache.nifi.processors.standard.GenerateTableFetch/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.20.0/org.apache.nifi.processors.standard.GenerateTableFetch/index.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you found this response assisted with your issue, please take a moment and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 12:47:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367156#M239816</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2023-03-29T12:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest modifiable data from SQL to HDFS using NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367159#M239817</link>
      <description>&lt;P&gt;I'm afraid that the&amp;nbsp;&lt;STRONG&gt;GenerateTableFetch&amp;nbsp;&lt;/STRONG&gt;does not help me either because it uses the highest value on a column to determine whether to read new added records in the SQL server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I'm trying to extract the already existing records that have recently been modified. If there is no processor than can directly deal with this, i may add a column to the table view which displays the time when the record was last modified (i.e. LastModificationDateTime) and use this column to retain the&amp;nbsp;&lt;SPAN&gt;"Maximum-value Columns" value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Back to the second part of my doubt, regarding the updating of this record in HDFS, how can I deal with this? I have the following approach in mind:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1 - Fetch and Read the parquet file where the "ChangedID" was stored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2 - Modify the record in that file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3 - Save up or replace that file in HDFS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this approach correct? Is there any better solution?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 13:05:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ingest-modifiable-data-from-SQL-to-HDFS-using-NiFi/m-p/367159#M239817</guid>
      <dc:creator>data_eng_87</dc:creator>
      <dc:date>2023-03-29T13:05:49Z</dc:date>
    </item>
  </channel>
</rss>

