【详述】读取hive外表count(1)没有输出,单独查询几条可以。
【StarRocks版本】2.5.1
【集群规模】3fe+5be(fe与be混部)
mysql> select count(*) from t1 where partitionday='20230210' and partitionhour='04';
ERROR 1064 (HY000): Query exceeded time limit of 300 seconds
mysql> select start_time from t1 where partitionday='20230210' and partitionhour='04' limit 1;
+----------------+
| start_time |
+----------------+
| 20230210041500 |
+----------------+
1 row in set (3.19 sec)
mysql>