Open let4be opened 3 years ago
I'm trying to insert data into the following table
CREATE TABLE default.domain_discovery ( shard UInt16, domain String, updated_at DateTime, created_at SimpleAggregateFunction(min, DateTime) ) ENGINE = AggregatingMergeTree() PARTITION BY (shard) ORDER BY (shard, domain, updated_at) PRIMARY KEY (shard, domain)
and get error from the library Unsupported column type "SimpleAggregateFunction(min, DateTime)"
Unsupported column type "SimpleAggregateFunction(min, DateTime)"
Creating a row using row! macro with created_at defined as ch::types::Value::DateTime(now as u32, chrono_tz::UTC)
row!
created_at
ch::types::Value::DateTime(now as u32, chrono_tz::UTC)
https://github.com/suharev7/clickhouse-rs/blob/b7f0df499ee1e1390e84c38cf2ccffef3ce7c612/src/types/column/factory.rs#L61
should account for function usage?
Support of SimpleAggregateFunction has already been pushed in this repository, and it will be in the next release.
I'm trying to insert data into the following table
and get error from the library
Unsupported column type "SimpleAggregateFunction(min, DateTime)"
Creating a row using
row!
macro withcreated_at
defined asch::types::Value::DateTime(now as u32, chrono_tz::UTC)