Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support comparison of ColumnExpr to timestamp literal #2808

Merged
merged 2 commits into from
Jun 3, 2021

Conversation

emilyreff7
Copy link
Contributor

@emilyreff7 emilyreff7 commented Jun 3, 2021

Proposed Change

This PR adds support to execute the following types of expressions that compare a ColumnExpr to a timestamp literal, which was previously missing functionality in the Pandas and Dask backends:

expr.filter(expr['timestamp_col'] > pd.Timestamp('20100301'))

Tests

Added tests for all comparison operations in test_temporal.py.

@jreback jreback added pandas The pandas backend expressions Issues or PRs related to the expression API labels Jun 3, 2021
@jreback jreback added this to the Next release milestone Jun 3, 2021
@jreback
Copy link
Contributor

jreback commented Jun 3, 2021

lgtm can you add a whatsnew note (do we have an issue for this)? if not just put this PR number. merge master and ping on green.

@emilyreff7 emilyreff7 changed the title Support execution of Series to timestamp literal comparison Support execution of ColumnExpr to timestamp literal comparison Jun 3, 2021
@emilyreff7 emilyreff7 changed the title Support execution of ColumnExpr to timestamp literal comparison Support comparison of ColumnExpr to timestamp literal Jun 3, 2021
@jreback jreback merged commit 6c165ee into ibis-project:master Jun 3, 2021
@jreback
Copy link
Contributor

jreback commented Jun 3, 2021

thanks @emilyreff7

@cpcloud cpcloud removed this from the Next release milestone Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expressions Issues or PRs related to the expression API pandas The pandas backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants