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: validate partition columns #2393

Conversation

MichaelScofield
Copy link
Collaborator

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Ensures that partition column must belongs to primary keys or equals to time index.

#2386 : 3/38

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)

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #2393 (4561806) into develop (4b13c88) will decrease coverage by 0.05%.
The diff coverage is 97.36%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2393      +/-   ##
===========================================
- Coverage    77.50%   77.45%   -0.05%     
===========================================
  Files          716      716              
  Lines       113062   113100      +38     
===========================================
- Hits         87634    87607      -27     
- Misses       25428    25493      +65     

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM

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

@MichaelScofield MichaelScofield added this pull request to the merge queue Sep 15, 2023
Merged via the queue into GreptimeTeam:develop with commit a688760 Sep 15, 2023
11 checks passed
@MichaelScofield MichaelScofield deleted the fix/validate-partition-column branch September 15, 2023 10:16
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
fix: partition column must belong to primary keys or equals to time index
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.

3 participants