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: change EXPIRE WHEN to EXPIRE AFTER #4002

Merged
merged 8 commits into from
May 27, 2024

Conversation

waynexia
Copy link
Member

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?

Change expire declaration gramma in CREATE FLOW from EXPIRE WHEN to EXPIRE AFTER

Related proto PR GreptimeTeam/greptime-proto#170

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@waynexia waynexia requested a review from discord9 May 21, 2024 08:32
@waynexia waynexia requested review from zhongzc, MichaelScofield and a team as code owners May 21, 2024 08:32
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label May 21, 2024
Copy link

codecov bot commented May 21, 2024

Codecov Report

Attention: Patch coverage is 57.52212% with 48 lines in your changes are missing coverage. Please review.

Project coverage is 85.13%. Comparing base (5df3d4e) to head (aaf9a79).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4002      +/-   ##
==========================================
- Coverage   85.42%   85.13%   -0.30%     
==========================================
  Files         983      984       +1     
  Lines      170493   170469      -24     
==========================================
- Hits       145652   145132     -520     
- Misses      24841    25337     +496     

@waynexia waynexia requested a review from fengjiachun May 21, 2024 11:55
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
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
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.

We also need to update the way parsing expire_after.

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@waynexia waynexia requested a review from fengjiachun May 27, 2024 03:22
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.

Rest LGTM

src/common/meta/src/key/flow/flow_info.rs Outdated Show resolved Hide resolved
src/flow/src/adapter/worker.rs Outdated Show resolved Hide resolved
src/flow/src/adapter/worker.rs Outdated Show resolved Hide resolved
waynexia and others added 2 commits May 27, 2024 11:43
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Jeremyhi <jiachun_feng@proton.me>
@fengjiachun fengjiachun added this pull request to the merge queue May 27, 2024
Merged via the queue into GreptimeTeam:main with commit 1de17ae May 27, 2024
27 of 28 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