语法
参数
返回值
示例
- 假设我们有一个名为
cluster_simple的 ClickHouse 集群,以及 HDFS 上 URI 如下的几个文件:
- ‘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’
- 查询这些文件中的行数:
- 查询这两个目录下所有文件的行数:
如果文件列表中包含带前导零的数字范围,请为每一位数字分别使用花括号写法,或使用
?。