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

Doris3.0读取Hive分区表,UDF格式化时间,过滤分区,列裁剪没有生效,导致全表扫描

Asked Feb 26 Modified Jan 1, 0001
Viewed 65
3.0 catalog query performance

image.png
image.png

edited Jan 1, 0001
Justin1
asked Feb 26
2 Answers

可以试一下 set enable_fold_constant_by_be=true 后再执行,或者explain 看下结果

edited Jan 1, 1970
morningman422
answered Feb 26

你的需求是希望自定义函数也能达到分区裁剪的效果吗?如果是的话麻烦提供下udf代码以及具体的Doris版本号、表结构及查询语句(可以简化)、explain。
Doris版本号可通过

-- 查看Doris版本:
  SELECT @@VERSION_COMMENT;
edited Jan 1, 1970
黄海军@SelectDB4963
answered Feb 26
Related Questions
使用阿里云服务器部署Doris,多 BE 共享同一个可供集群外部访问的 IP,碰到 content_type 报错
doris 3.0.3 运行一段时间后建表卡住超时,报错the report queue size exceeds the limit: 100. current: 101
1 answers
k8s部署存算分离3.0.3版本如何指定metaservice、fe、be的时区
各位大佬,目前我司在进行技术选型,目前团队内Doris相关技术经验较少,选择哪个版本更加稳定啊?
1 answers
如何删除resource中的s3.access_key以及s3.secret_key属性
doris村算分离3.0.5版本,表table_properties中storage_vault_id为空,导致自动分区失败,如何更新这个值,现有系统不支持modify。
1 answers

Terms of service Privacy policy

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