You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Chinmay Kulkarni (Jira)" <ji...@apache.org> on 2020/01/09 01:57:00 UTC

[jira] [Assigned] (PHOENIX-5631) Phoenix-Spark PhoenixDataWriter#write should not commit mutations

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

Chinmay Kulkarni reassigned PHOENIX-5631:
-----------------------------------------

    Assignee:     (was: Chinmay Kulkarni)

> Phoenix-Spark PhoenixDataWriter#write should not commit mutations
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-5631
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5631
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: connectors-1.0.0
>            Reporter: Chinmay Kulkarni
>            Priority: Major
>              Labels: phoenix-spark
>             Fix For: connectors-1.0.0
>
>
> For the Phoenix-Spark PhoenixDataWriter, we should not commit inside the _write_ method since this breaks the contract mentioned in DataSourceV2 DataWriter as DataWriter#commit should be the one that commits this writer after all records are written successfully via DataWriter#write.
> We may need to revert or modify the changes done to upsert mutations in batches done in [PHOENIX-5232|https://issues.apache.org/jira/browse/PHOENIX-5232].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)