You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a sql query: SELECT * FROM TABLE1
The table is stored in a Clickhouse database.
I am running the following code:
from sqlalchemy import text
from sqlalchemy.ext.asyncio import create_async_engine
engine = create_async_engine("clickhouse+asynch://host/db")
async with engine.connect() as conn:
res = await conn.stream(text(query))
data = await res.partitions(10000)
This results into the following error:
asynch.errors.ServerException: Code: 12.
DB::Exception: Setting 'max_block_size' cannot be zero
What am I doing wrong? My objective is to get data in parallel
The text was updated successfully, but these errors were encountered:
I have a sql query:
SELECT * FROM TABLE1
The table is stored in a Clickhouse database.
I am running the following code:
This results into the following error:
What am I doing wrong? My objective is to get data in parallel
The text was updated successfully, but these errors were encountered: