Skip to content

refactor: rename components of the replace into impl #17355

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

Merged

Conversation

dantengsky
Copy link
Member

@dantengsky dantengsky commented Jan 23, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Initially, REPLACE INTO was designed as a simplified implementation of MERGE INTO, with the expectation that it would gradually evolve into a full-fledged implementation of MERGE INTO, as a result, many MERGE INTO related terms exist in the components of REPLACE INTO impl.

However, MERGE INTO now has its own independent impl, the remaining MERGE INTO related terms in the impl of REPLACE INTO can be misleading.

Therefore, in this PR, we have renamed all MERGE INTO related terms in the impl of REPLACE INTO to avoid confusion.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - renaming things, use existing cases

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

Initially, `REPLACE INTO` was designed as a simplified implementation of `MERGE INTO`, with the expectation that it would gradually evolve into a full-fledged implementation of `MERGE INTO`, as a result, many `MERGE INTO` related terms exist in the components of `REPLACE INTO` impl.

However, `MERGE INTO` now has its own independent impl, the remaining `MERGE INTO` related terms in the impl of `REPLACE INTO` can be misleading.

Therefore, in this PR, we have renamed all `MERGE INTO` related terms in the implof `REPLACE INTO` to avoid confusion.
@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Jan 23, 2025
@dantengsky dantengsky marked this pull request as ready for review January 23, 2025 06:29
@dantengsky dantengsky added this pull request to the merge queue Jan 23, 2025
Merged via the queue into databendlabs:main with commit 964dfe1 Jan 23, 2025
79 checks passed
@dantengsky dantengsky deleted the chore/refactor-replace-into branch January 23, 2025 10:03
dantengsky added a commit to dantengsky/fuse-query that referenced this pull request Feb 5, 2025
…17355)

refactor: rename components of `replace into`

Initially, `REPLACE INTO` was designed as a simplified implementation of `MERGE INTO`, with the expectation that it would gradually evolve into a full-fledged implementation of `MERGE INTO`, as a result, many `MERGE INTO` related terms exist in the components of `REPLACE INTO` impl.

However, `MERGE INTO` now has its own independent impl, the remaining `MERGE INTO` related terms in the impl of `REPLACE INTO` can be misleading.

Therefore, in this PR, we have renamed all `MERGE INTO` related terms in the implof `REPLACE INTO` to avoid confusion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-refactor this PR changes the code base without new features or bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants