Skip to content

Merge after delta update #1276

@dmpetrov

Description

@dmpetrov

Description

Now we are getting an exception: Delta update cannot be used with merge. It prevents race cond issues. However, we need to enable it in cases when user accepts the risk or runs custom check before merge().

  • Introduce reset_delta(), So, chain.reset_delta().merge(...) just works.
  • Extend error message like Cannot merge two delta datasets - may cause inconsistency. Use reset_delta() to disable delta tracking.
  • Allow merges between delta dataset and not-delta datasets - it cannot lead to race condition
  • Make sure all affected commands follow this rules: merge, join, union(?), distinct, etc. (please list it in the docs)

Open question: should chain.clone() reset delta and why?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions