Skip to content

Conversation

Blizzara
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Got broken in #15049, as the call for return_type was only providing one data type instead of two.

What changes are included in this PR?

Are these changes tested?

cargo bench --bench date_trunc runs sucessfully after this

Are there any user-facing changes?

@github-actions github-actions bot added the functions Changes to functions implementation label Mar 11, 2025
@Blizzara
Copy link
Contributor Author

fyi @Omega359

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Blizzara and @Omega359

I ran this locally and it worklooks good now:

     Running benches/date_trunc.rs (target/release/deps/date_trunc-501285eb70a1c788)
Gnuplot not found, using plotters backend
date_trunc_minute_1000  time:   [18.116 µs 18.217 µs 18.304 µs]
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) low mild
  1 (1.00%) high mild

@alamb alamb merged commit 2455aab into apache:main Mar 11, 2025
24 checks passed
@Blizzara Blizzara deleted the avo/fix-date-trunc branch March 12, 2025 09:28
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.

date_trunc benchmark fails with a panic

2 participants