-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Get rid of Arrow test utils #3734
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
|
Test FAILed. |
|
Test FAILed. |
|
The logging improvements look good. For the python client, does it make much sense to put much time into it? We want to do #3541 instead, right? |
|
@pcmoritz That makes sense. I also observed some double frees in the python wrapper (properly related to unique pointer), so I have reverted those changes. |
|
Test FAILed. |
|
Test PASSed. |
|
@guoyuhong Please have a look at the logging_provider change, does that look good to you? It undoes some of the changes you did in #2816, are they still needed? If yes, we should document it in the source code. |
|
@suquark @pcmoritz One concern is that we expose the macro |
|
It is fine to move |
|
The problems I found is macros like |
|
@suquark Shall we consider add |
|
@guoyuhong Another solution (since we don't have control over arrow's DCHECK) is to remove logging.h in the plasma/common.h file. I'm happy to create a patch about that for arrow, so we can merge that first and then merge this PR. |
|
@pcmoritz That is better~ |
|
I have rebased this branch to use the new Arrow version. |
|
Test FAILed. |
|
@suquark: There are still some clashes, but we can resolve them in this PR without further changes to arrow. I'd suggest we get rid of |
|
@suquark Do you want to make these changes so we can get this merged? |
|
@pcmoritz Sorry for my late response. Let me try to make these changes. |
|
I still recommend to hide the following typedef to logging.cc instead of logging.h. And in logging.h we may use Only in this case, the raylet lib user does not to define |
guoyuhong
left a comment
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.
LGTM. Thanks for your efforts!
|
Test PASSed. |
|
There is a little bit of linting left: |
|
Test PASSed. |
|
@pcmoritz It's ready to merge. The test error is not related. |
This PR removes arrow test utils because some of its macros conflict with GLOG and other libraries. This will also provide unified stack traces.