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

fix: can't adding new columns as primary key #2310

Conversation

killme2008
Copy link
Contributor

@killme2008 killme2008 commented Sep 3, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Make the alter sql statement can add new columns as the primary key.
Try to fix #1308

TODO:

  • update sqlness result

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Close #1308

@killme2008 killme2008 marked this pull request as ready for review September 3, 2023 07:52
@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

❗ No coverage uploaded for pull request base (migrate-region-server@2fec725). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files
@@                   Coverage Diff                    @@
##             migrate-region-server    #2310   +/-   ##
========================================================
  Coverage                         ?   78.77%           
========================================================
  Files                            ?      717           
  Lines                            ?   116490           
  Branches                         ?        0           
========================================================
  Hits                             ?    91770           
  Misses                           ?    24720           
  Partials                         ?        0           

@killme2008
Copy link
Contributor Author

@v0y4g3r @fengjiachun Please take a look.

Copy link
Collaborator

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

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

LGTM

@fengjiachun fengjiachun added this pull request to the merge queue Sep 4, 2023
Merged via the queue into GreptimeTeam:migrate-region-server with commit b1f5a88 Sep 4, 2023
11 checks passed
WenyXu pushed a commit to WenyXu/greptimedb that referenced this pull request Sep 13, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
@killme2008 killme2008 deleted the feature/add-primary-key-column branch December 5, 2023 08:57
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.

None yet

3 participants