tadeja opened a new issue, #50308:
URL: https://github.com/apache/arrow/issues/50308

   ### Describe the enhancement requested
   
   Currently `SparseCSFIndex::Make` (`cpp/src/arrow/sparse_tensor.cc`) builds 
the index tensors from `indices_shapes` without validation:
   ```cpp
       indptr[i] = std::make_shared<Tensor>(indptr_type, indptr_data[i],
                                            
std::vector<int64_t>({indices_shapes[i] + 1}));
   ...
       indices[i] = std::make_shared<Tensor>(indices_type, indices_data[i],
                                             
std::vector<int64_t>({indices_shapes[i]}));
   ```
   Review what validation and place would be best.
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to