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

Remove AbstractNdarrayUDF #415

Merged
merged 15 commits into from
Oct 3, 2022
Merged

Remove AbstractNdarrayUDF #415

merged 15 commits into from
Oct 3, 2022

Conversation

LordDarkula
Copy link
Collaborator

@LordDarkula LordDarkula commented Oct 2, 2022

  • Add setup and forward abstract methods to AbstractUDF
  • Convert NDArray UDFs to this format

@LordDarkula LordDarkula requested a review from gaurav274 October 2, 2022 02:39
@LordDarkula LordDarkula changed the title Define setup and forward in abstract_udf Remove AbstractNdarrayUDF Oct 2, 2022
@LordDarkula LordDarkula marked this pull request as ready for review October 2, 2022 02:40
@LordDarkula LordDarkula requested a review from adarsh2397 October 2, 2022 02:41
Copy link
Collaborator

@xzdandy xzdandy left a comment

Choose a reason for hiding this comment

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

Overall LGTM

@@ -1,6 +1,7 @@
[run]
omit =
eva/parser/evaql/*
eva/udfs/abstract_udf.py
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why omit the abstract_udf?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Abstract classes cannot be directly tested so including them in coverage reports is misleading. Adding/removing abstract methods does not actually alter test coverage.

@LordDarkula LordDarkula merged commit 2c3cc42 into georgia-tech-db:master Oct 3, 2022
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.

2 participants