Skip to content

Simplify predicates involving date_trunc('hour')#14161

Merged
findepi merged 3 commits intotrinodb:masterfrom
findepi:findepi/hour
Sep 19, 2022
Merged

Simplify predicates involving date_trunc('hour')#14161
findepi merged 3 commits intotrinodb:masterfrom
findepi:findepi/hour

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Sep 16, 2022

Follow up to #14011 adding hour unit support.
It's useful because Iceberg has hour partitioning transform.

Also improve test coverage for hour transform with `timestamp`.
Replace `date_trunc('hour', a_timestamp)` in comparison with a range predicate.
See 80c079f for more context.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants