Skip to content

Conversation

feiniaofeiafei
Copy link
Contributor

cherry-pick from #44789 #44943 #45928

…plement Monotonic (apache#44789)

### What problem does this PR solve?

Problem Summary:

This pr implement Monotonic for date_format, to_monday, last_day,
to_date, year, which will allow partition pruning on partition column
with there functions.
…il function implement Monotonic (apache#44943)

date_add, date_sub, date_diff, date_floor, date_ceil function implement Monotonic, so we can do prune range partition for this functions, for example `date_add(dt, 1) = '2024-01-01'`
@feiniaofeiafei
Copy link
Contributor Author

run buildall

@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@feiniaofeiafei
Copy link
Contributor Author

run feut

@morrySnow morrySnow merged commit 4512dfe into apache:branch-3.1 Jun 23, 2025
21 of 22 checks passed
@morrySnow morrySnow changed the title [enhance](nerieds) date_format, to_monday, last_day, to_date, year implement Monotonic (#44789) branch-3.1: [enhance](nerieds) date_format, to_monday, last_day, to_date, year implement Monotonic (#44789) Jun 23, 2025
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