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

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

Asked Feb 26 Modified Jan 1, 0001
Viewed 71
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
morningman447
answered Feb 26

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

-- 查看Doris版本:
  SELECT @@VERSION_COMMENT;
edited Jan 1, 1970
黄海军@SelectDB5178
answered Feb 26
Related Questions
Doris 3.0及以上版本 读写分离性能问题
2.1.10版本升级3.0.8版本后get_json_string方法无法提取数组中的值
1 answers
Doris Opertor可以实现自动扩缩容吗?
1 answers
按照doris官方文档部署doris3.0.7存算一体部署fe,一直报stat table does not exist, db_name: __internal_schema, table_name: column_statistics
2 answers
manager25.1.1部署doris 3.0.7 3.0.8 FE都启动不起来
1 answers
Doris 3.0.3资源分组后,实现读写分离,如何监控资源组?
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 中文技术论坛.