Commit b1f955a1 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix CH Dictionary split data to chunk.

parent 31981638
Pipeline #22411 passed with stages
in 25 minutes and 7 seconds
......@@ -62,7 +62,7 @@ class DataSourceCache(Document):
name = d.get("next_name", None)
# Finally, decode result
# avoid string catenation whenever possible
return cls.decode("".join(data) if len(data) > 1 else data[0])
return cls.decode(b"".join(data) if len(data) > 1 else data[0])
def set_data(cls, name, data, ttl):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment