dmlc / dmlc/ps-lite

Message Data transform other data type to SArray<char>,it can't support complicated data struct

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.6k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

I want to push a string as value to server,but can't work.
I notice that all data are transform to SArray,so it difficult to support comlicated data struct.
as said:
*A smart array that retains shared ownership. It provides similar
- functionalities comparing to std::vector, including data(), size(),
- operator[], resize(), clear(). SArray can be easily constructed from
- std::vector

but I can't do this:
std::vector vec;
SArray s(vec);

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the server value transformation that converts data to SArray, then inspect SArray construction from std::vector. Reproduce the reported std::vector case and define done as successfully sending string or similarly structured values without the current conversion failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.