Skip to content

perf: optimisation for date_part with seconds#23444

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

perf: optimisation for date_part with seconds#23444
theirix wants to merge 1 commit into
apache:mainfrom
theirix:perf-date_part-seconds

Conversation

@theirix

@theirix theirix commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Benches were added recently in #23350 . Improve and measure some optimisations.

What changes are included in this PR?

  • Improve performance for seconds_ns and seconds_as_i32. A pretty rare code path.

Are these changes tested?

  • Tests are passing
  • Bench-measured perf is improving

Are there any user-facing changes?

@github-actions github-actions Bot added the functions Changes to functions implementation label Jul 10, 2026
@theirix theirix marked this pull request as ready for review July 10, 2026 10:47
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.

perf: date_part UDF optimisations

1 participant