CREATE TABLE hdfs_engine_table(`int_id` UInt32)ENGINE = ENGINE=HDFS('hdfs://hdfs1:9000/other_storage', 'TSV')
URI is the URI of the entire file in HDFS, and format specifies an available file format. For more formats, see Formats for Input and Output Data. A path URI may contain glob wildcards. In this case, the table will be read-only.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
Feedback