Skip to end of banner
Go to start of banner

Asynchronous Table Transactions

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The current table update features include the following:

  • Add/Remove columns.
  • Partial Row changes.
  • RowSet changes, including adding, removing, and updating rows.
  • Row updates via an uploaded CSV.  Rows can be added, removed, and updated via CSV uploads.

While Synapse currently supports adding and removing columns from a table updating a column is not supported (PLFM-3884). 

A common Synapse table use case includes the following operations:

  1. User downloads all of the data from a table as CSV using either the web or command line clients.
  2. The user changes the resulting CSV making row update, deletes, and additions.  The user will also add or remove columns to the CVS.
  3. The user then attempts to upload the CSV back to the table in Synapse, expecting the row and schema changes to be applied.

Currently the web-client attempts to support this use case using two separate table update requests:

  1. Schema change to match the table to the CSV.
  2. CSV uploaded to the table.

This works well when both the schema changes and row changes succeed.  However, if the schema change succeeds but the row changes fail, the table is left in a broken state because the changes to the table did not occur as transaction.

 

 

 

  • No labels