Skip to content

Commit d57e56f

Browse files
committed
Merge sparse_tensor_format.h into sparse_tensor.h
1 parent 880bbc4 commit d57e56f

File tree

3 files changed

+6
-28
lines changed

3 files changed

+6
-28
lines changed

cpp/src/arrow/ipc/metadata-internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "arrow/ipc/dictionary.h" // IYWU pragma: keep
3434
#include "arrow/ipc/message.h"
3535
#include "arrow/memory_pool.h"
36-
#include "arrow/sparse_tensor_format.h"
36+
#include "arrow/sparse_tensor.h"
3737
#include "arrow/status.h"
3838

3939
namespace arrow {

cpp/src/arrow/sparse_tensor.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@
2222
#include <string>
2323
#include <vector>
2424

25-
#include "arrow/sparse_tensor_format.h"
2625
#include "arrow/tensor.h"
2726

2827
namespace arrow {
2928

3029
// ----------------------------------------------------------------------
3130
// SparseIndex class
3231

32+
/// \brief EXPERIMENTAL: Sparse tensor format enumeration
33+
struct SparseTensorFormat {
34+
enum type { COO, CSR };
35+
};
36+
3337
/// \brief EXPERIMENTAL: The base class for representing index of non-zero
3438
/// values in sparse tensor
3539
class ARROW_EXPORT SparseIndex {

cpp/src/arrow/sparse_tensor_format.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)