Skip to content

perf: speedup date_part isodow by using DayOfWeekMonday1#23491

Open
theirix wants to merge 1 commit into
apache:mainfrom
theirix:perf-date_part-isodow
Open

perf: speedup date_part isodow by using DayOfWeekMonday1#23491
theirix wants to merge 1 commit into
apache:mainfrom
theirix:perf-date_part-isodow

Conversation

@theirix

@theirix theirix commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Optimise date_part to avoid extra operations during isodow - Arrow's DayOfWeekMonday1 is now available

What changes are included in this PR?

Switch from manual dow calculation to a built-in DayOfWeekMonday1

Are these changes tested?

  • Covered by existing SLTs
  • Benched by recently introduced benchmarks

Are there any user-facing changes?

@github-actions github-actions Bot added the functions Changes to functions implementation label Jul 12, 2026
@theirix theirix marked this pull request as ready for review July 12, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant