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

Add unique index support #309

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

dcherednik
Copy link
Member

@dcherednik dcherednik commented Sep 6, 2024

Since 24.1 ydb has option to enable unique constraint. This commit allows to create table with unique constraint or add it by alter table call

@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2024

Codecov Report

Attention: Patch coverage is 7.69231% with 12 lines in your changes missing coverage. Please review.

Project coverage is 47.17%. Comparing base (798bb60) to head (f717222).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...a/tech/ydb/table/description/TableDescription.java 0.00% 4 Missing ⚠️
...src/main/java/tech/ydb/table/impl/BaseSession.java 0.00% 3 Missing and 1 partial ⚠️
...va/tech/ydb/table/settings/AlterTableSettings.java 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #309      +/-   ##
============================================
- Coverage     47.24%   47.17%   -0.07%     
  Complexity     1703     1703              
============================================
  Files           304      304              
  Lines         12226    12239      +13     
  Branches       1220     1221       +1     
============================================
- Hits           5776     5774       -2     
- Misses         5997     6010      +13     
- Partials        453      455       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alex268 alex268 merged commit 6444e31 into ydb-platform:master Sep 6, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants