Currently it's only possible to change codec during compilation via configs in config/ directory like that:
config :clickhousex, codec: Clickhousex.Codec.Binary
I think it might be a good idea to be able to choose it on per-query basis, depending on the needs