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

feat: reserve internal column #2396

Merged
merged 4 commits into from
Sep 15, 2023

Conversation

Nateiru
Copy link
Contributor

@Nateiru Nateiru commented Sep 14, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

The column name created by user cannot be the name of the reserved column.

Closes #2392

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)

#2392

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #2396 (32b35d3) into develop (26992d5) will decrease coverage by 0.07%.
Report is 4 commits behind head on develop.
The diff coverage is 97.50%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2396      +/-   ##
===========================================
- Coverage    77.53%   77.46%   -0.07%     
===========================================
  Files          717      716       -1     
  Lines       113962   113999      +37     
===========================================
- Hits         88356    88305      -51     
- Misses       25606    25694      +88     

src/store-api/src/storage/consts.rs Outdated Show resolved Hide resolved
src/store-api/src/metadata.rs Show resolved Hide resolved
@Nateiru Nateiru requested a review from evenyag September 15, 2023 02:08
@Nateiru Nateiru requested a review from waynexia September 15, 2023 05:35
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

@waynexia waynexia added this pull request to the merge queue Sep 15, 2023
Merged via the queue into GreptimeTeam:develop with commit 6aec30a Sep 15, 2023
13 checks passed
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* feat: reserve internal column

Signed-off-by: ZhuZiyi <[email protected]>

* test: add function test

Signed-off-by: ZhuZiyi <[email protected]>

* fix: spell typos

Signed-off-by: ZhuZiyi <[email protected]>

* chore: resolve conversation

Signed-off-by: ZhuZiyi <[email protected]>

---------

Signed-off-by: ZhuZiyi <[email protected]>
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.

mito: reserves internal columns
4 participants