-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fix bug with empty dataframe number of rows #205
Fix bug with empty dataframe number of rows #205
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
jenkins test this please |
@mesejo Nice! Let me know when you're ready for review. :) |
@sethmlarson For my part the only thing I think is missing is refactoring the SizeTask constructor, given that all the class children share the same behavior. Let me know what do you think. |
@mesejo That sounds fine to me! Also don't worry about the CI failure, it's a transient error. |
@sethmlarson Feel free to review it when possible |
jenkins test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good to me, two small comments.
Also I think we have an extraneous import, should be caught by nox -s lint
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is an attempt at solving the bug with the wrong shape, instead of only passing the sort field, one could pass the index and query the
len
in the constructor. An enhancement will be to create a unique constructor in SizeTask with the logic.Closes #152