Describe the bug
clickhouse-connect fails to deserialize results of type DateTime('Fixed/UTC±HH:MM:SS'), even though ClickHouse itself executes the same query successfully.
Code example
import clickhouse_connect
client = clickhouse_connect.get_client(host="localhost", port=8123)
result = client.query(
"SELECT toStartOfInterval(now(), toIntervalHour(1), 'Fixed/UTC+05:30:00') AS ts"
)
print(result.first_item)
InternalError: Unrecognized ClickHouse type base: DateTime name: DateTime('Fixed/UTC+05:30:00')
The exact same SQL works over plain HTTP, for example:
curl -s "http://localhost:8123/?user=...&password=..." \
--data-binary "SELECT toStartOfInterval(now(), toIntervalHour(1), 'Fixed/UTC+05:30:00') AS ts FORMAT JSONEachRow"
which returns:
{"ts":"2026-04-01 17:00:00"}
Configuration
Environment
- clickhouse-connect version: 0.15.0
- Python version: 3.13.11
- Operating system: macOS
ClickHouse server
- ClickHouse Server version: 25.8.16
Describe the bug
clickhouse-connectfails to deserialize results of typeDateTime('Fixed/UTC±HH:MM:SS'), even though ClickHouse itself executes the same query successfully.Code example
The exact same SQL works over plain HTTP, for example:
which returns:
Configuration
Environment
ClickHouse server