Skip to content

Conversation

@treagod
Copy link
Contributor

@treagod treagod commented Jul 29, 2025

This PR introduces time-based field transforms that allow filtering records based on
specific components of date and datetime fields (year, month, day, hour, minute, second).

What's New

Field Transforms Available:

  • year - Extract year from date/datetime fields
  • month - Extract month from date/datetime fields
  • day - Extract day of month from date/datetime fields
  • hour - Extract hour from datetime fields
  • minute - Extract minute from datetime fields
  • second - Extract second from datetime fields

By default each time predicate will be combined with the exact predicate, but they can be combined with any other non-transform predicate, e.g. created_at__year__lt.

Closes #237

@treagod treagod force-pushed the time-predicates branch 3 times, most recently from cbd3e55 to d45b033 Compare September 1, 2025 15:14
@treagod treagod marked this pull request as ready for review September 3, 2025 15:59
@treagod treagod requested a review from ellmetha September 3, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add support for time attribute predicates

2 participants