long2ice / asynch

An asyncio ClickHouse Python Driver with native (TCP) interface support.

Home Page:https://github.com/long2ice/asynch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LowCardinality column #2

dbrojas opened this issue · comments

This has been an issue before but I have still encountered it. (#2)

Int types are being initialized within LowCardinality, they themselves requiring a reader and writer too.

I could make this work on my machine by passing them to the Int types in asynch/proto/columns/lowcardinalitycolumn.py line 87 and 106.

eg:

int_column = self.int_types[int_type](
    reader=self.nested_column.reader, writer=self.nested_column.writer
)