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(query): migrate datetime rounder functions to v2. #8281

Merged
merged 5 commits into from
Oct 18, 2022

Conversation

RinChanNOWWW
Copy link
Contributor

@RinChanNOWWW RinChanNOWWW commented Oct 18, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Fix

  • to_monday: fix the functionality and docs in the old function.
  • to_start_of_week: fix the docs.

Migration

return timestamp:

  • to_start_of_second
  • to_start_of_minute
  • to_start_of_five_minutes
  • to_start_of_ten_minutes
  • to_start_of_fifteen_minutes
  • to_start_of_hour
  • to_start_of_day
  • time_slot

return date:

  • to_monday
  • to_start_of_week
  • to_start_of_month
  • to_start_of_quarter
  • to_start_of_year
  • to_start_of_iso_year

return timestamp or date:

  • date_trunc

Part of #8048

@vercel
Copy link

vercel bot commented Oct 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Oct 18, 2022 at 9:04AM (UTC)

@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label Oct 18, 2022
@mergify mergify bot merged commit a596172 into databendlabs:main Oct 18, 2022
@RinChanNOWWW RinChanNOWWW deleted the date_rounder branch October 18, 2022 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants