Apache Doris 中文技术论坛
Questions Tags Users Badges

查最后一个分区的数据

Asked Oct 15, 2024 Modified Jan 1, 0001
Viewed 57
2.0

有一个表按天分区,有什么办法可以动态查询最后一个分区的数据 ,例如:

select * from table where date='最后一个分区的日期'

edited Jan 1, 0001
耳东11
asked Oct 15, 2024
1 Answers

你使用什么方式呢?可以脚本里面放入参数,根据需求动态设置

edited Jan 1, 1970
徐振超@SelectDB(可以直接加微信Faith_xzc)8226
answered Oct 15, 2024
Related Questions
doris fe节点变更成高可用配置
1 answers
各位大哥在通过k8s安装doris3.0的时候,有没有遇到cg启动不起来,提示Set max number of open file descriptors to a value greater than 60000.
1 answers
doris主键表可以bucket配置太小,怎么修改?
1 answers
doris2.0.2.1大量delete语句和stream load执行在5分钟左右
1 answers
flink-doris-connector-1.20.24.0.0 2pc ,checkpoint处恢复数据重复
1 answers
Doris的json解析问题
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.