Skip to content

Support casting to Decimal in Primitive CastKernel - #9288

Merged
gatesn merged 8 commits into
developfrom
mk/primitive-to-decimal-cast
Aug 7, 2026
Merged

Support casting to Decimal in Primitive CastKernel#9288
gatesn merged 8 commits into
developfrom
mk/primitive-to-decimal-cast

Conversation

@mhk197

@mhk197 mhk197 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Add casts from integer primitive arrays to decimal arrays.

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
@mhk197 mhk197 added the changelog/feature A new feature label Aug 7, 2026
@codspeed-hq

codspeed-hq Bot commented Aug 7, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 35.45%

❌ 1 regressed benchmark
✅ 1940 untouched benchmarks
🆕 3 new benchmarks
⏩ 85 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation cast_i32_to_u32[65536] 1.8 ms 2.8 ms -35.45%
🆕 Simulation cast_i64_to_decimal38_scale2[65536] N/A 3.7 ms N/A
🆕 Simulation cast_i32_to_decimal9_scale2[65536] N/A 1.4 ms N/A
🆕 Simulation cast_i32_to_decimal9_scale0[65536] N/A 746.8 µs N/A

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing mk/primitive-to-decimal-cast (cc85221) with develop (329bba2)

Open in CodSpeed

Footnotes

  1. 85 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

mhk197 added 4 commits August 7, 2026 11:40
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
@mhk197 mhk197 changed the title cast primitive arrays to decimal Support casting to Decimal in Primitive CastKernel Aug 7, 2026
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
@mhk197
mhk197 marked this pull request as ready for review August 7, 2026 23:06
mhk197 added 2 commits August 7, 2026 16:12
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
@gatesn
gatesn merged commit 5794e7d into develop Aug 7, 2026
74 of 75 checks passed
@gatesn
gatesn deleted the mk/primitive-to-decimal-cast branch August 7, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants