-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[DataFrame] Implement df.merge #1964
Conversation
Test FAILed. |
Test PASSed. |
python/ray/dataframe/dataframe.py
Outdated
self._col_metadata = col_metadata | ||
else: | ||
assert columns is not None, \ | ||
"Columns must be passed without col_metadata" |
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.
"If col_metadata is None, columns must be passed in"
python/ray/dataframe/dataframe.py
Outdated
else: | ||
repartitioned_right = right._block_partitions | ||
|
||
left_cols = ray.put(self.columns) |
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.
Put this before column merge
python/ray/dataframe/dataframe.py
Outdated
|
||
# TODO ERROR CHECK | ||
if on is not 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.
Perform error checking before defining new_columns
so users don't get a local error followed by a remote error.
Test PASSed. |
Test FAILed. |
6e27d45
to
6004bed
Compare
Jenkins, test this please |
Jenkins, retest this please. |
Test PASSed. |
Implement the
DataFrame.merge
method that does a Database style join on common columns. Depends on #1937.TODO: