Skip to content

Conversation

@NiwakaDev
Copy link

Part of GreptimeTeam/greptimedb#3755.

This PR adds parser support such as SELECT * FROM monitor WHERE ts WITHIN '2025'.

@NiwakaDev
Copy link
Author

NiwakaDev commented Jan 27, 2025

This PR is based on GreptimeTeam/greptimedb#5397 (comment)..

@NiwakaDev
Copy link
Author

@killme2008
I forgot to make this PR. Could you please review this PR when you have some time?

@killme2008
Copy link

@killme2008 I forgot to make this PR. Could you please review this PR when you have some time?

Of course.

Copy link

@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 requested a review from waynexia January 30, 2025 14:59
@killme2008
Copy link

@waynexia Please take a look when you have some time.

Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @NiwakaDev 🚀

Some follow up things I come up with:

  • Add some comment about the detailed behavior for this change
  • Implement the within_filter function
  • More unit tests and sqlness tests after we bump the parser

@waynexia waynexia merged commit 7bcbc43 into GreptimeTeam:v0.45.x Feb 6, 2025
2 of 9 checks passed
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