Avatar for the Eventual-Inc user
Eventual-Inc
Daft
BlogDocsChangelog

Performance History

Latest Results

fix docstring
euan/range-repartition-clustering-spec-1
31 minutes ago
docstring
euan/range-repartition-clustering-spec-1
1 hour ago
test(mcap): fix pandas string assertion
RitwijParmar:codex/daft-http-mcap-fsspec-handler
2 hours ago
Merge branch 'main' into feat/string-distance-functions
nish2292:feat/string-distance-functions
2 hours ago
feat: add try_cast function for safe type conversion (#6960) Implements try_cast which returns null instead of raising an error when type conversion fails. This is the Spark-compatible `TRY_CAST` function. Changes: - Extended Expr::Cast variant with a bool flag (true = try_cast mode) - Added try_cast method to Series (element-wise fallback on failure) - Added `TRY_CAST` SQL syntax support via `CastKind::TryCast/SafeCast` - Added Python API: `Expression.try_cast()`, `Series.try_cast()`, `daft.functions.try_cast()` - Updated all `Expr::Cast` match sites across the codebase - Added comprehensive tests ## Changes Made **Rust Core (daft-dsl, daft-core):** - `src/daft-dsl/src/expr/mod.rs` — Extended `Expr::Cast(ExprRef, DataType, bool)` with try_cast flag - `src/daft-dsl/src/expr/visitor.rs` — Updated visitor pattern for new Cast signature - `src/daft-dsl/src/python.rs` — Added `try_cast()` PyO3 binding - `src/daft-core/src/series/ops/cast.rs` — Implemented `Series::try_cast()` with bulk-first, element-wise fallback strategy **SQL Support (daft-sql):** - `src/daft-sql/src/planner.rs` — Handle `CastKind::TryCast` and `CastKind::SafeCast` in SQL planner **Logical/Physical Plan:** - `src/daft-logical-plan/src/ops/project.rs` — Updated semantic ID replacement for Cast - `src/daft-logical-plan/src/optimization/rules/push_down_projection.rs` — Updated projection pushdown - `src/daft-physical-plan/src/translation/translate.rs` — Updated physical plan translation **Python API:** - `daft/expressions/expressions.py` — Added `Expression.try_cast()` method - `daft/series.py` — Added `Series.try_cast()` method - `daft/functions/__init__.py` — Added `try_cast()` top-level function **Tests:** - `tests/series/test_try_cast.py` — Comprehensive test coverage for various type conversion scenarios ## Related Issues Closes #6959
main
3 hours ago

Latest Branches

CodSpeed Performance Gauge
-1%
feat: add support for range partition hints in clustering spec #7050
52 minutes ago
a299495
euan/range-repartition-clustering-spec-1
CodSpeed Performance Gauge
+11%
2 hours ago
a81f45e
RitwijParmar:codex/daft-http-mcap-fsspec-handler
CodSpeed Performance Gauge
+10%
2 hours ago
d3ae12c
nish2292:feat/string-distance-functions
© 2026 CodSpeed Technology
Home Terms Privacy Docs