clickhouse-rs icon indicating copy to clipboard operation
clickhouse-rs copied to clipboard

Unsupported column type "DateTime"

Open webmstk opened this issue 3 years ago • 0 comments

Hi! The code below

let block = client
        .query("SELECT * FROM demo LIMIT 1")
        .fetch_all()
        .await?;

causes error if table contains column with type Nullable(DateTime('Europe/Moscow')):

Error: Io(Custom { kind: Other, error: "Other error: `Unsupported column type \"DateTime('Europe/Moscow')\".`" })

It works fine with DateTime('Europe/Moscow').

Nice lib, thank you!

webmstk avatar Sep 29 '21 08:09 webmstk