Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cpp/src/plasma/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "plasma/compat.h"

#include "arrow/status.h"
#include "arrow/util/logging.h"
#ifdef PLASMA_CUDA
#include "arrow/gpu/cuda_api.h"
#endif
Expand Down
1 change: 1 addition & 0 deletions cpp/src/plasma/io.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <sstream>

#include "arrow/status.h"
#include "arrow/util/logging.h"

#include "plasma/common.h"
#include "plasma/plasma_generated.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <string>
#include <vector>

#include "arrow/util/logging.h"

#include "plasma/client.h"

constexpr jsize OBJECT_ID_SIZE = sizeof(plasma::ObjectID) / sizeof(jbyte);
Expand Down
1 change: 1 addition & 0 deletions python/pyarrow/tensorflow/plasma_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "arrow/adapters/tensorflow/convert.h"
#include "arrow/api.h"
#include "arrow/io/api.h"
#include "arrow/util/logging.h"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@pcmoritz Would you know why plasma_op.cc includes Tensorflow's logging.h above? It produces a collision in the DCHECK macros.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

where is the DCHECK collision occurring? Are we clobbering their macro or vice versa? We should use ARROW_CHECK (or add ARROW_DCHECK_* aliases) so we can use these in an environment where there is ambiguity. We already disallow DCHECK in public headers

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

See line 22 above:

#include "tensorflow/core/platform/logging.h"


// These headers do not include Python.h
#include "arrow/python/deserialize.h"
Expand Down