Skip to content

Conversation

KodaiD
Copy link
Contributor

@KodaiD KodaiD commented Aug 25, 2025

Description

This PR adds the support for ifNotExists option in add column operation of ScalarDB. With this option, users can avoid errors when trying to add a column that already exists in the table.

Related issues and/or PRs

N/A

Changes made

  • Added ifNotExists parameter to the addNewColumnToTable method in Admin interface.
  • Added integration tests to verify the behavior of ifNotExists option.

Checklist

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • I have considered whether similar issues could occur in other products, components, or modules if this PR is for bug fixes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • Tests (unit, integration, etc.) have been added for the changes.
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

N/A

Release notes

Added support for ifNotExists option in add column operation.

@KodaiD KodaiD self-assigned this Aug 25, 2025
@KodaiD KodaiD added the enhancement New feature or request label Aug 25, 2025
@KodaiD KodaiD marked this pull request as ready for review August 27, 2025 08:01
@KodaiD KodaiD requested review from a team, Torch3333, brfrn169, feeblefakie and komamitsu and removed request for a team August 27, 2025 08:01
Copy link
Contributor

@komamitsu komamitsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@KodaiD KodaiD mentioned this pull request Aug 28, 2025
7 tasks
Copy link
Collaborator

@brfrn169 brfrn169 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

Copy link
Contributor

@feeblefakie feeblefakie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@KodaiD KodaiD mentioned this pull request Aug 29, 2025
7 tasks
Copy link
Contributor

@Torch3333 Torch3333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@KodaiD KodaiD merged commit 1064cf8 into master Aug 29, 2025
199 of 213 checks passed
@KodaiD KodaiD deleted the support-addcolumn-ifnotexists branch August 29, 2025 08:18
@KodaiD KodaiD mentioned this pull request Sep 21, 2025
7 tasks
@KodaiD KodaiD mentioned this pull request Oct 2, 2025
7 tasks
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

Successfully merging this pull request may close these issues.

5 participants