Sebastian Schmidt created NIFI-13463:
----------------------------------------

             Summary: ExecuteSQLRecord fails having a RecordSetWriterLookup 
service configured
                 Key: NIFI-13463
                 URL: https://issues.apache.org/jira/browse/NIFI-13463
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.26.0
            Reporter: Sebastian Schmidt


In opposite to e.g. ConvertRecord or QueryRecord, ExecuteSQLRecord does not 
support as "Record Writer" a RecordSetWriterLookup service.
It fails with: "Caused by: java.io.IOException: 
org.apache.nifi.processor.exception.ProcessException: Unable to determine which 
Record Writer to use: after evaluating the property value against supplied 
variables, got an empty value"   

Root Cause:
RecordSqlWriter.class => 2*recordSetWriterFactory.createWriter are called with 
an empty map.
In opposite to e.g. AbstractRecordProcessor.class line 134, where the FF 
attributes send as parameter



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to