CREATE TABLE hdfs_engine_table(`int_id` UInt32)ENGINE = ENGINE=HDFS('hdfs://hdfs1:9000/other_storage', 'TSV')
CREATE TABLE test.test on cluster default_cluster(`int_id` UInt32)engine = MergeTree()order by int_id;
create table test.test on cluster default_cluster(`int_id` UInt32)engine = ReplicatedMergeTree('/clickhouse/tables/test/test/{shard}', '{replica}')order by int_id;
create table test.test_dis on cluster defaultAS test.testengine = Distributed('default_cluster', 'test', 'test', rand());
INSERT INTO test.test SELECT * FROM hdfs_engine_table;
select * from test.test
文档反馈