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

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

Commit faf4d5c0cbaef17946c8e17a2b3a60d928b5b434 in nifi's branch 
refs/heads/support/nifi-1.x from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=faf4d5c0cb ]

NIFI-11682 Correct Quoting for UPSERT and INSERT_IGNORE keys in 
PutDatabaseRecord

This closes #7385

Signed-off-by: David Handermann <[email protected]>
(cherry picked from commit bc6ac4b700c78961045c8a55b44406827d1a8693)


> 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: 20m
>  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)

Reply via email to