Skip to content

fix: offset_by was raising unnecessarily for sql-like#3478

Merged
MarcoGorelli merged 7 commits intonarwhals-dev:mainfrom
MarcoGorelli:fix-offset-by-with-columns
Feb 20, 2026
Merged

fix: offset_by was raising unnecessarily for sql-like#3478
MarcoGorelli merged 7 commits intonarwhals-dev:mainfrom
MarcoGorelli:fix-offset-by-with-columns

Conversation

@MarcoGorelli
Copy link
Member

closes #3471

Description

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

  • Related issue #<issue number>
  • Closes #<issue number>

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

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

Thanks @MarcoGorelli - one tiny suggestion to get a better error message on old versions

@MarcoGorelli
Copy link
Member Author

sure, thanks!

@MarcoGorelli MarcoGorelli merged commit d7d58fa into narwhals-dev:main Feb 20, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: PySpark:dt.offset_by transformation on literal values fails with UNSUPPORTED_EXPR_FOR_WINDOW error

2 participants