Commit de4a395e authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merge branch 'py3-fix-ch-dictionary-decode' into 'master'

Fix CH Dictionary split data to chunk.

See merge request !3518
parents c2337069 b1f955a1
Pipeline #22413 passed with stages
in 58 minutes
......@@ -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])
@classmethod
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