I have create a data pipeline that fetches an excel file and copies it into a table in a SQL Server. I have used ExtractText processor to filter rows by using a regular expression, as from the post at https://community.cloudera.com/t5/Community-Articles/NiFi-ETL-Removing-columns-filtering-rows-changi...
I have validated the used regular expression at https://www.freeformatter.com/java-regex-tester.html#ad-output
However, the filter produces no match and no data is written in the SQL Server.
By omitting the filter, the flow works fine so the problem is clearly in the ExtractText processor.
I have searched for possible hints in this and other forums with no success. Any idea what might be wrong?
Below is my complete configuration, the used source data and the configured SQL table.
Thanks a lot in advance!
Flow:
![1_flow.png 1_flow.png](https://community.cloudera.com/t5/image/serverpage/image-id/30551i2C73C6A2128C6046/image-size/large?v=v2&px=999)
GetFile processor:
![2_get_file.png 2_get_file.png](https://community.cloudera.com/t5/image/serverpage/image-id/30552iA696E490EB420669/image-size/large?v=v2&px=999)
ConvertExcelToCSVProcessor:
![3_convert_to_CSV.png 3_convert_to_CSV.png](https://community.cloudera.com/t5/image/serverpage/image-id/30554iD97A80E0A70CE028/image-size/large?v=v2&px=999)
SplitText processor:
![4_split_rows.png 4_split_rows.png](https://community.cloudera.com/t5/image/serverpage/image-id/30555i5C0AB268A9A2777B/image-size/large?v=v2&px=999)
ExtractText processor:
![5_filter_rows.png 5_filter_rows.png](https://community.cloudera.com/t5/image/serverpage/image-id/30556i9D955199194565AE/image-size/large?v=v2&px=999)
PutDatabaseRecord processor:
![6_put_DB_record.png 6_put_DB_record.png](https://community.cloudera.com/t5/image/serverpage/image-id/30557i9383EA3B8960A70A/image-size/large?v=v2&px=999)
DBCPConnectionPool controller service:
![7_DB_Connector.png 7_DB_Connector.png](https://community.cloudera.com/t5/image/serverpage/image-id/30558i8F5F6B59296D0D12/image-size/large?v=v2&px=999)
CSVReader controller service:
![8_CSV_reader.png 8_CSV_reader.png](https://community.cloudera.com/t5/image/serverpage/image-id/30559iA07920B922573303/image-size/large?v=v2&px=999)
Source data
![9_source_data.png 9_source_data.png](https://community.cloudera.com/t5/image/serverpage/image-id/30560i798BF8F8E0E80E93/image-size/large?v=v2&px=999)
Target table:
![10_target_table.png 10_target_table.png](https://community.cloudera.com/t5/image/serverpage/image-id/30561iA71C73C20B502059/image-size/large?v=v2&px=999)