Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement Request] Enrich Branch SchemaDiff #444

Open
newborn22 opened this issue Feb 21, 2024 · 0 comments
Open

[Enhancement Request] Enrich Branch SchemaDiff #444

newborn22 opened this issue Feb 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@newborn22
Copy link
Contributor

Background

Currently, the schemadiff feature of the branch can compare whether the source_branch and target_branch in a certain workflow are the same. If they are different, it will print out the create table statements for each. However, there are more aspects to consider regarding schema difference.

Proposal

For example, we can add these features:

  1. The comparison objects of the schema are not limited to just the source_branch and target_branch; a snapshot can also be included.
  2. The granularity of schema comparison is not limited to the database; it can also be specified for a particular table.
  3. The results of schema comparison: when the schemas are different, it can output the create table statements for each, or it can output the DDL statements needed to transform one schema into another.
  4. Conflict detection: it can output whether there are conflicts between two schemas, i.e., whether the two schemas can be smoothly merged.
@newborn22 newborn22 added the enhancement New feature or request label Feb 21, 2024
@newborn22 newborn22 changed the title [Enhancement Request] Enrich branch schemadiff [Enhancement Request] Enrich branch SchemaDiff Feb 21, 2024
@newborn22 newborn22 changed the title [Enhancement Request] Enrich branch SchemaDiff [Enhancement Request] Enrich Branch SchemaDiff Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant