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

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

Commit 4fa47ecc2ad02fe266bcfee38b954d00e7aeddf8 in nifi's branch 
refs/heads/support/nifi-1.x from Lehel Boér
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4fa47ecc2a ]

NIFI-5151: Add UPSERT support for Apache Phoenix

Signed-off-by: Matthew Burgess <[email protected]>


> Patch Nifi with Upsert functions for PutDatabaseRecord processor
> ----------------------------------------------------------------
>
>                 Key: NIFI-5151
>                 URL: https://issues.apache.org/jira/browse/NIFI-5151
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.7.0
>            Reporter: Karl Amundsson
>            Assignee: Lehel Boér
>            Priority: Major
>              Labels: Processor
>             Fix For: 1.latest, 2.latest
>
>         Attachments: 
> 0001-NIFI-5151-Adding-support-for-UPSERT-in-PutDatabaseRe.patch, 
> 0001-NIFI-5151-Using-DatabaseAdapter-to-generate-INSERT-S.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Since Phoenix doesn't support the SQL statement INSERT you have to use a 
> process like: ConvertAttributesToJSON->ConvertJSONToSQL in Insert 
> mode->ReplaceText to replace "INSERT" with "UPSERT" -> PutSQL (See: 
> [https://community.hortonworks.com/questions/40561/nifi-phoenix-processor.html)]
> With this patch you can choose to use UPSERT directly.



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

Reply via email to