Skip to content

feat: schema level opts#2283

Merged
shuiyisong merged 6 commits intoGreptimeTeam:developfrom
shuiyisong:feat/schema_opts
Aug 30, 2023
Merged

feat: schema level opts#2283
shuiyisong merged 6 commits intoGreptimeTeam:developfrom
shuiyisong:feat/schema_opts

Conversation

@shuiyisong
Copy link
Copy Markdown
Contributor

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This pr mainly adds

  1. SchemaNameValue which contains ttl option for schema(persisted at etcd)
  2. merge ttl option while creating table

discussion: should we rename SchemaNameValue to something else?

wait for GreptimeTeam/greptime-proto#93 to be merge first

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
Copy Markdown

codecov Bot commented Aug 30, 2023

Codecov Report

Merging #2283 (b009a75) into develop (8e9f2ff) will decrease coverage by 0.41%.
The diff coverage is 87.34%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2283      +/-   ##
===========================================
- Coverage    85.19%   84.78%   -0.41%     
===========================================
  Files          715      715              
  Lines       117456   117523      +67     
===========================================
- Hits        100061    99639     -422     
- Misses       17395    17884     +489     

@sunng87 sunng87 added this pull request to the merge queue Aug 30, 2023
@shuiyisong shuiyisong removed this pull request from the merge queue due to a manual request Aug 30, 2023
@shuiyisong shuiyisong added this pull request to the merge queue Aug 30, 2023
Merged via the queue into GreptimeTeam:develop with commit 5df4d44 Aug 30, 2023
@shuiyisong shuiyisong deleted the feat/schema_opts branch August 30, 2023 08:23
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* chore: update proto

* chore: add try from for schema name value

* chore: merge schema opts to table opts while creating table

* chore: use table ttl opts first

* chore: add unit test

* chore: update proto version
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