Syntax
Arguments
Returned value
A table with the specified structure for reading data in the specified file.Examples
- Suppose that we have a ClickHouse cluster named
cluster_simple, and several files with following URIs on HDFS:
- ‘hdfs://hdfs1:9000/some_dir/some_file_1’
- ‘hdfs://hdfs1:9000/some_dir/some_file_2’
- ‘hdfs://hdfs1:9000/some_dir/some_file_3’
- ‘hdfs://hdfs1:9000/another_dir/some_file_1’
- ‘hdfs://hdfs1:9000/another_dir/some_file_2’
- ‘hdfs://hdfs1:9000/another_dir/some_file_3’
- Query the amount of rows in these files:
- Query the amount of rows in all files of these two directories:
If your listing of files contains number ranges with leading zeros, use the construction with braces for each digit separately or use
?.