Skip to content

Move temporal types and operations into vortex-temporal - #12544

Open
connortsui20 wants to merge 1 commit into
ct/temporal-remove-generic-castsfrom
ct/temporal-extract-crate
Open

connortsui20 wants to merge 1 commit into
ct/temporal-remove-generic-castsfrom
ct/temporal-extract-crate

Conversation

@connortsui20

@connortsui20 connortsui20 commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

With temporal-specific casting removed from core, concrete temporal dtypes, arrays, scalar functions, and storage-ordered aggregate registrations can live in their own vortex-extensions/vortex-temporal crate alongside the other extension crates. Keeping vortex-array and vortex-functions free of temporal ownership avoids circular or compatibility dependencies while the default vortex session continues initializing temporal support.

Breaking change: temporal types and operations move out of vortex-array and vortex-functions into vortex-temporal, so custom low-level sessions must call vortex_temporal::initialize explicitly.

Files to review (8 of 146 — the rest are mechanical moves, import updates, manifest wiring, and moved tests)

New crate public API & registration

  • vortex-extensions/vortex-temporal/Cargo.toml — new crate manifest and dependency set
  • vortex-extensions/vortex-temporal/src/lib.rs — crate exports and vortex_temporal::initialize (dtypes, scalar fns, kernel support, storage-ordered aggregates)
  • vortex-extensions/vortex-temporal/src/expr.rs — temporal expression constructors and doc examples

Facade & session boundaries

  • vortex/src/lib.rs — facade re-exports (vortex::temporal, vortex::extension::datetime, vortex::expr) and default session calling vortex_temporal::initialize
  • vortex-array/src/dtype/session.rs — drops hardcoded temporal dtype registration from DTypeSession::default()
  • vortex-array/src/aggregate_fn/session.rs — drops hardcoded temporal register_storage_ordered calls from AggregateFnSession::default()
  • vortex-functions/src/lib.rs — removes temporal scalar fn modules and registrations from vortex-functions

Core serde test replacement

Prepared with AI assistance.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot added the changelog/break A breaking API change label Dec 1, 2026
@devin-ai-integration
devin-ai-integration Bot force-pushed the ct/temporal-extract-crate branch from 6d842b7 to 49325e4 Compare December 1, 2026 22:42
@connortsui20
connortsui20 marked this pull request as ready for review December 1, 2026 23:14
@vortex-roborev-bot

vortex-roborev-bot Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

roborev: Combined Review (daa04c0)

Verdict: No issues found.


Reviewers: claude-code | Synthesis: claude-code, 0s | Total: 1m55s, cost partial ~$2.32

@vortex-roborev-bot vortex-roborev-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Line comments for the roborev review of 49325e4. The roborev PR comment has the full review.

@devin-ai-integration
devin-ai-integration Bot force-pushed the ct/temporal-extract-crate branch 2 times, most recently from ec97dd8 to 385dcca Compare December 1, 2026 23:22
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Signed-off-by: connor <connor@spiraldb.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Signed-off-by: connor <connor@spiraldb.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the ct/temporal-extract-crate branch from 385dcca to daa04c0 Compare December 1, 2026 23:24
@codspeed

codspeed Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Merging this PR will regress 1 benchmark

1 warning, 1 note

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

ℹ️ This run is excluded from the branch history

This commit was force-pushed, so this run no longer appears in the branch's performance history.

⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 1511 untouched benchmarks
🆕 1 new benchmark
⏩ 812 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Walltime compare_u8_neon 1.7 µs 1.9 µs -10.02%
⚡ CPU Simulation split_extreme[(8192, Seconds)] 600.8 µs 465.4 µs +29.08%
🆕 CPU Simulation timestamp_gte N/A 99.4 µ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 ct/temporal-extract-crate (49325e4) with ct/temporal-remove-generic-casts (772c3f3)2

Open in CodSpeed

Footnotes

  1. 812 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. ↩

  2. No successful run was found on ct/temporal-remove-generic-casts (6bb69ef) during the generation of this report, so 8a433ef was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/break A breaking API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants