Skip to content

feat: don't allow creating logical table with partitions #6249

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
merged 3 commits into from
Jun 5, 2025

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Jun 4, 2025

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

Logical table should inherit partition info from physical table. Hence this patch forbids creating logical table with partitions.

PR Checklist

Please convert it to a draft if some of the following conditions are not met.

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.
  • API changes are backward compatible.
  • Schema or data changes are backward compatible.

@waynexia waynexia requested review from MichaelScofield and a team as code owners June 4, 2025 08:39
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Jun 4, 2025
Signed-off-by: Ruihang Xia <[email protected]>
@waynexia waynexia closed this Jun 5, 2025
@waynexia waynexia reopened this Jun 5, 2025
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

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

@killme2008 killme2008 added this pull request to the merge queue Jun 5, 2025
Merged via the queue into GreptimeTeam:main with commit c4da8bb Jun 5, 2025
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants