-
Notifications
You must be signed in to change notification settings - Fork 51
feat: Add concat pushdown for hybrid engine #1891
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
Conversation
scalars_array_value: array_value.ArrayValue, | ||
engine, | ||
): | ||
catted = scalars_array_value.concat([scalars_array_value, scalars_array_value]) |
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.
naming nit: "catted" -> "result". Otherwise I might have thought that the returned value is turned into a feline.
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.
done
engine, | ||
): | ||
catted = scalars_array_value.concat([scalars_array_value, scalars_array_value]) | ||
assert_equivalence_execution(catted.node, REFERENCE_ENGINE, engine) |
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.
super style nit: let's add an empty line before the assertion block https://g3doc.corp.google.com/eng/doc/devguide/testing/unit/best-practices.md?cl=head&polyglot=python#structure
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.
done
1fb7614
to
69563be
Compare
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕