Skip to content

[Proposal] Support replace table feature #4668

@morningman

Description

@morningman

Is your feature request related to a problem? Please describe.
in #2663, I implemented a feature of Temporary Partition, so that users can use this function to
atomically write data to a partition. But this function is only for partition tables.

Therefore, here I have implemented a replacement table operation, which can perform atomic replacement of the table,
so that for non-partitioned tables, this method can also be used to achieve the purpose of atomic overwriting.

Syntax:

ALTER TABLE tbl1 REPLACE WITH TABLE tbl2;

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions