[ https://issues.apache.org/jira/browse/PHOENIX-5631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chinmay Kulkarni updated PHOENIX-5631: -------------------------------------- Labels: phoenix-spark (was: ) > 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 > Assignee: 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)