Skip to content

Conversation

@mesejo
Copy link
Collaborator

@mesejo mesejo commented Nov 5, 2025

closes #1372

@mesejo mesejo marked this pull request as draft November 5, 2025 12:14
@mesejo mesejo self-assigned this Nov 5, 2025
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
python/xorq/backends/let/datafusion/udfs.py 83.33% 1 Missing ⚠️
Files with missing lines Coverage Δ
python/xorq/backends/let/datafusion/compiler.py 88.28% <100.00%> (+0.07%) ⬆️
python/xorq/backends/let/tests/test_temporal.py 100.00% <100.00%> (ø)
python/xorq/backends/let/datafusion/udfs.py 59.21% <83.33%> (+2.06%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 5, 2025

CodSpeed Performance Report

Merging #1373 will improve performances by 32.52%

Comparing feat/add_strftime (e5b5123) with main (6ee1225)

Summary

⚡ 1 improvement
✅ 3 untouched

Benchmarks breakdown

Benchmark BASE HEAD Change
test_into_backend_cache 296.6 ms 223.8 ms +32.52%

@mesejo mesejo requested a review from hussainsultan November 5, 2025 13:19
@mesejo mesejo marked this pull request as ready for review November 5, 2025 13:19
@mesejo mesejo requested a review from dlovell November 6, 2025 15:10
def temporal_strftime(array: dt.Timestamp(scale=9), pattern: dt.string) -> dt.string:
pattern, *_rest = typing.cast(pa.StringArray, pattern).unique().to_pylist()

if len(_rest) > 0:
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's use "truth value testing" here: if rest:
https://docs.python.org/3/library/stdtypes.html#truth-value-testing

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compilation rule for 'Strftime' operation is not defined

3 participants