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

PySpark backend: cache all ops in translate() #1999

Merged
merged 2 commits into from
Oct 18, 2019

Conversation

hjoo
Copy link
Contributor

@hjoo hjoo commented Oct 17, 2019

Removing compile_with_scope() in favor of caching all operations in scope during translate(). Caching only select operations with compile_with_scope() is error prone. This change ensures we don't compile the same operation more than once.

@hjoo
Copy link
Contributor Author

hjoo commented Oct 17, 2019

cc: @icexelloss @toryhaavik

@icexelloss
Copy link
Contributor

Minor comments. LGTM otherwise.

Copy link
Contributor

@icexelloss icexelloss left a comment

Choose a reason for hiding this comment

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

Minor comments. Please update the doc for translate.

@hjoo
Copy link
Contributor Author

hjoo commented Oct 17, 2019

Added a docstring for translate().

Copy link
Contributor

@toryhaavik toryhaavik left a comment

Choose a reason for hiding this comment

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

LGTM thanks @hjoo

@toryhaavik toryhaavik merged commit f45e36c into ibis-project:master Oct 18, 2019
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.

3 participants