You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Heiner León (Jira)" <ji...@apache.org> on 2024/11/04 22:17:00 UTC
[jira] [Comment Edited] (NIFI-13818) PutDatabaseRecord doesn't use the "Max String Length" property from its JsonTreeReader
[ https://issues.apache.org/jira/browse/NIFI-13818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895440#comment-17895440 ]
Heiner León edited comment on NIFI-13818 at 11/4/24 10:16 PM:
--------------------------------------------------------------
Hi [~christofcolle],
This issue is fixed in the latest version of NiFi 1.x (1.28.0).
was (Author: JIRAUSER307231):
Hi [~christofcolle],
This issue is fixed in the latest version of NiFi 1.x (1.28.0).
> 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
> 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)