apurtell opened a new pull request, #2524:
URL: https://github.com/apache/phoenix/pull/2524

   Disclose atomic upsert flavors and RETURNING in EXPLAIN.
   
   Replace the single opaque `PUT SINGLE ROW` operator line with a switch on 
`UpsertStatement.OnDuplicateKeyType`, surface the server-side update 
assignments under `ON DUPLICATE KEY UPDATE`, and disclose `RETURNING *` on 
every mutation plan whose parsed statement has `isReturningRow() == true` — 
that is, every concrete `UpsertCompiler` plan (`UpsertValuesMutationPlan`, 
`ServerUpsertSelectMutationPlan`, `ClientUpsertSelectMutationPlan`) and every 
`DeleteCompiler` plan (`SingleRowDeleteMutationPlan`, 
`ServerSelectDeleteMutationPlan`, `ClientSelectDeleteMutationPlan`).
   
   Add three new structured fields to `ExplainPlanAttributes` and matching 
fluent assertions on `ExplainPlanTestUtil`.
   
   Co-authored-by: Claude Opus 4.8[1m] <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to