You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/11 21:48:00 UTC

[jira] [Commented] (NIFI-8470) PutDatabaseRecord truncates strings to 1 character when inserting into PostgreSQL CHAR(n) field

    [ https://issues.apache.org/jira/browse/NIFI-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342886#comment-17342886 ] 

ASF subversion and git services commented on NIFI-8470:
-------------------------------------------------------

Commit fdda3582e3f60da74d82713e8677a1560d04a008 in nifi's branch refs/heads/main from Sandro Tolaini
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=fdda358 ]

NIFI-8470: Fix DataTypeUtils for CHAR() sequences

NIFI-8470: Added unit test

Signed-off-by: Matthew Burgess <ma...@apache.org>

This closes #5027


> PutDatabaseRecord truncates strings to 1 character when inserting into PostgreSQL CHAR(n) field
> -----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-8470
>                 URL: https://issues.apache.org/jira/browse/NIFI-8470
>             Project: Apache NiFi
>          Issue Type: Bug
>         Environment: Linux CentOS 7.9, PostgreSQL 13, OpenJDK 1.8.0
>            Reporter: Sandro Tolaini
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> When inserting records into a CHAR(5) column in a PostgreSQL table, the value is truncated to first character 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)