redis / riot

🧨 Get data in & out of Redis with RIOT

Home Page:http://redis.github.io/riot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSONL Support?

yukha-dw opened this issue · comments

Hello, is there any plan to add support for JSON Lines (Line separated JSON Object)?

Example:

{"fieldA": 1, "fieldB": "asd"}\n
{"fieldA": 2, "fieldB": "qwe"}\n
{"fieldA": 3, "fieldB": "zxc"}\n

I think this format is much simpler for riot-file to be ingested than JSON Arrays?

I also tested and verified that the tool does not support the migration of JSON data and will directly report an error。
And The error message is following:
Encountered an error executing step snapshot-replication in job live-replication: ERR unknown command 'JSON.SET', with args beginning with: 'k1' '$' '{"books":[{"price":5,Scanning 100%

Later, if the migration from elasticache for redis to elasticache for redis is tested, the tool supports JSON data. It was not supported before because the target redis does not support the JSON data type.

Later, if the migration from elasticache for redis to elasticache for redis is tested, the tool supports JSON data. It was not supported before because the target redis does not support the JSON data type.