-
Notifications
You must be signed in to change notification settings - Fork 0
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: implement python query engine wrapper #229
feat: implement python query engine wrapper #229
Conversation
1699b17
to
ec61375
Compare
ec61375
to
497b70f
Compare
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.
76c234e
into
epic/165-query-engine-refactor-1
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.
Soooo excited for this PR and to start playing around with the queries ⭐ a few questions or remarks about naming, but it's not stopping the merge
@@ -50,7 +50,7 @@ def __repr__(self) -> str: ... | |||
def __eq__(self, value: object) -> bool: ... | |||
|
|||
@staticmethod | |||
def _from_pydatatype(datatype: PyDataType) -> DataType: | |||
def _from_py_data_type(datatype: PyDataType) -> DataType: |
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.
I honestly prefer the spelling before
def floor(self) -> None: | ||
self._single_value_operand.floor() | ||
|
||
def absolute(self) -> None: |
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.
abs
would fit in better with the other functions
@@ -422,7 +422,7 @@ def __init__( | |||
) | |||
|
|||
@classmethod | |||
def _from_pyschema(cls, schema: PySchema) -> Schema: | |||
def _from_py_schema(cls, schema: PySchema) -> Schema: |
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.
same here, I kinda see Pyschema as one word, but this opinion is not super strong
This PR concludes the first phase of the query engine refactoring.
All tests should succeed again. Linting and Formatting should also not fail.
There was some functionality removed from the
querying.pyi
. This is tracked ind the epic issue #165 underSmall usability improvemets
.There are no docstrings and no tests as of now. These will be added in the next phase. This is also tracked in #165