mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
418a61a68c
``` create table kafka ( a UInt32, a_str String Alias toString(a) ) engine = Kafka; create table data ( a UInt32; a_str String ) engine = MergeTree order by tuple(); create materialized view data_mv to data ( a UInt32, a_str String ) as select a, a_str from kafka; ``` Alias type works as expected in comparison with MATERIALIZED/EPHEMERAL or column with default expression. Ref: https://github.com/ClickHouse/ClickHouse/pull/47138 Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com> |
||
---|---|---|
.. | ||
clickhouse_path/format_schemas | ||
configs | ||
__init__.py | ||
kafka_pb2.py | ||
message_with_repeated_pb2.py | ||
social_pb2.py | ||
test_kafka_json.reference | ||
test_kafka_virtual1.reference | ||
test_kafka_virtual2.reference | ||
test.py |