You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Hari Krishna Dara (Jira)" <ji...@apache.org> on 2025/07/15 04:30:00 UTC

[jira] [Assigned] (PHOENIX-7651) Support for RETURNING clause with UPSERT ... ON DUPLICATE KEY

     [ https://issues.apache.org/jira/browse/PHOENIX-7651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Krishna Dara reassigned PHOENIX-7651:
------------------------------------------

    Assignee: Hari Krishna Dara

> Support for RETURNING clause with UPSERT ... ON DUPLICATE KEY
> -------------------------------------------------------------
>
>                 Key: PHOENIX-7651
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7651
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Hari Krishna Dara
>            Assignee: Hari Krishna Dara
>            Priority: Major
>
> PHOENIX-7630 made it possible to use standard JDBC API to fetch the row with UPSERT ... ON DUPLICATE KEY statement, but it is unconditional and not efficient for use cases that do not need the row, especially if the row is large. This feature should support a {{RETURNING *}}  clause to make it possible for the user to conditionally fetch the row.
> This is inspired by [https://www.postgresql.org/docs/17/dml-returning.html]



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