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

ENH/CLN: Enable window function tests where possible #1777

Merged
merged 6 commits into from
May 12, 2019

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented May 11, 2019

No description provided.

@cpcloud cpcloud requested a review from xmnlab May 11, 2019 17:51
@cpcloud cpcloud added the tests Issues or PRs related to tests label May 11, 2019
@cpcloud cpcloud modified the milestones: Next Bugfix Release, Next Feature Release May 11, 2019
Copy link
Contributor

@xmnlab xmnlab left a comment

Choose a reason for hiding this comment

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

it seem awesome @cpcloud
I just added some comment related to the old code that maybe would be good to change (just move up a bit one line)

the current testes that are failing are:

FAILED ibis/tests/all/test_window.py::test_window[PostgreSQL-rank]
FAILED ibis/tests/all/test_window.py::test_window[PostgreSQL-dense_rank]
FAILED ibis/tests/all/test_window.py::test_window[BigQuery-lag]
FAILED ibis/tests/all/test_window.py::test_window[BigQuery-lead]
FAILED ibis/tests/all/test_window.py::test_window[BigQuery-rank]
FAILED ibis/tests/all/test_window.py::test_window[BigQuery-dense_rank]
FAILED ibis/tests/all/test_window.py::test_window[BigQuery-percent_rank]
FAILED ibis/tests/all/test_window.py::test_window[Impala-lag]
FAILED ibis/tests/all/test_window.py::test_window[Impala-lead]
FAILED ibis/tests/all/test_window.py::test_window[Impala-rank]
FAILED ibis/tests/all/test_window.py::test_window[Impala-dense_rank]

related to the error:

E       AssertionError: Attributes are different
E       
E       Attribute "dtype" are different
E       [left]:  int64
E       [right]: float64

not sure ... but if the result should be integer, so the expected value maybe could be converted to float if it has NA values .. but I need to check the code locally to be sure of this error

ibis/tests/all/test_window.py Show resolved Hide resolved
@cpcloud cpcloud merged commit cd33e18 into ibis-project:master May 12, 2019
@cpcloud cpcloud deleted the fix-window-test branch May 12, 2019 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants