-
Notifications
You must be signed in to change notification settings - Fork 130
feat: PyExpr::evaluate #5388
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
feat: PyExpr::evaluate #5388
Conversation
This is primarily useful for diagnosing issues (e.g. #5385). Signed-off-by: Daniel King <dan@spiraldb.com>
198bdef to
4cbc8d9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Daniel King <dan@spiraldb.com>
| # TypeAliases do not support __doc__. | ||
| IntoProjection: TypeAlias = Expr | list[str] | None | ||
| IntoArrayIterator: TypeAlias = Array | ArrayIterator | pa.Table | pa.RecordBatchReader | ||
| IntoArray: TypeAlias = Union[Array, "pa.Array[pa.Scalar[pa.DataType]]", pa.Table] |
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.
you have pyright yelling at you to use |
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.
The stubs disagree with actual pyarrow so I can't use |. I ignored the 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.
(and | dislikes strings)
This is primarily useful for diagnosing issues (e.g. #5385).