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 2023/06/16 20:06:00 UTC
[jira] [Commented] (NIFI-11682) Update keys not quoted in PutDatabaseRecord
[ https://issues.apache.org/jira/browse/NIFI-11682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733649#comment-17733649 ]
ASF subversion and git services commented on NIFI-11682:
--------------------------------------------------------
Commit bc6ac4b700c78961045c8a55b44406827d1a8693 in nifi's branch refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bc6ac4b700 ]
NIFI-11682 Correct Quoting for UPSERT and INSERT_IGNORE keys in PutDatabaseRecord
This closes #7385
Signed-off-by: David Handermann <ex...@apache.org>
> Update keys not quoted in PutDatabaseRecord
> -------------------------------------------
>
> Key: NIFI-11682
> URL: https://issues.apache.org/jira/browse/NIFI-11682
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.latest, 2.latest
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When update keys are used in PutDatabaseRecord (either by declaring them in the Update Keys property or being auto-determined from the database metadata), they are not being quoted correctly when 'Quote Column Identifiers' is set to 'true'. This happens for Upsert, Update, and Insert Ignore statements.
> This was fixed for Upsert in NIFI-8043 but a regression was introduced via NIFI-9607 when the quoting was removed inadvertently. Testing has revealed this issue exists for Upsert, Update, and Insert Ignore statements, so should be fixed for all of them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)