Apache DataFusion SQL Query Engine
ARROW-4225: [Format][C++] Add CSC sparse matrix support
Kenta Murata5a987775566e
diff --git a/format/SparseTensor.fbs b/format/SparseTensor.fbsindex 96d954d1ed..c1b0491454 100644--- a/format/SparseTensor.fbs+++ b/format/SparseTensor.fbs@@ -64,8 +64,13 @@ table SparseTensorIndexCOO {indicesBuffer: Buffer;}-/// Compressed Sparse Row format, that is matrix-specific.-table SparseMatrixIndexCSR {+enum SparseMatrixCompressedAxis: short { Row, Column }++/// Compressed Sparse format, that is matrix-specific.+table SparseMatrixIndexCSX {+ /// Which axis, row or column, is compressed+ compressedAxis: SparseMatrixCompressedAxis;+/// The type of values in indptrBufferindptrType: Int;@@ -110,7 +115,7 @@ table SparseMatrixIndexCSR {union SparseTensorIndex {SparseTensorIndexCOO,- SparseMatrixIndexCSR+ SparseMatrixIndexCSX,}table SparseTensor {