PNixx / clickhouse-activerecord

A Ruby database ActiveRecord driver for ClickHouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for the Map data type

brookemckim opened this issue · comments

I am using the Map data type and currently it comes through as an escaped Ruby hash. Just calling eval on it converts it to a Hash, but I'd like to add official support. Let me know if there is any guidance on where to begin with this.

This is what the ruby class looks like unserialized:

 metadata: "{\"Version\"=>\"v2\", \"Type\"=>\"Data\"}",

Please provide a link to the official documentation. I don't understand what type it is.