[ 
https://issues.apache.org/jira/browse/NIFI-13818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Heiner León resolved NIFI-13818.
--------------------------------
    Fix Version/s: 2.0.0
                   1.28.0
       Resolution: Resolved

Issue resolved in https://issues.apache.org/jira/browse/NIFI-13542

> PutDatabaseRecord doesn't use the "Max String Length" property from its 
> JsonTreeReader
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-13818
>                 URL: https://issues.apache.org/jira/browse/NIFI-13818
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Christof Colle
>            Assignee: Heiner León
>            Priority: Major
>             Fix For: 2.0.0, 1.28.0
>
>         Attachments: Screenshot_4.jpg
>
>
> Even in the latest Nifi version (1.27.0) :
>  
> I have a *JsonTreeReader* Controller Service, where I have the *Max String 
> Length* property set to {*}50 MB{*}.
>  
> Using the JsonTreeReader controller, I have a *PutDatabaseRecord* processor 
> to insert a large JSON content (+20MB) into a single row in our MSSQL 
> database.
>  
> However, it doesn't seem the processor uses the configured MaxStringLength as 
> configured in the controller service :
>  
> {code:java}
> putdatabaserecord.error :
> String value length (20054016) exceeds the maximum allowed (20000000, from 
> `StreamReadConstraints.getMaxStringLength()`){code}



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

Reply via email to