yhdata_FzXgJlZy青铜二
2024-11-25 17:12:22 发布在问答
数据集产生当参数为空时显示全部数据怎么设置

300
6
精彩评论6
yhdata_lyaa
发表于 2024-11-25 17:31:56 显示全部楼层
回复

使用道具 2#

隔壁老帆白银二
发表于 2024-11-26 08:08:07 显示全部楼层
参考https://www.yonghongtech.com/rea ... paramindataset.html
回复

使用道具 3#

yhdata_FzXgJlZy青铜二
发表于 2024-11-26 10:12:12 显示全部楼层
yhdata_lyaa 发表于 2024-11-25 17:31
写成形式,参考https://www.yonghongtech.com/real-help/Z-Suite/10.2/ch/paramindataset.html

数据集参数我是这样写的:select *
from fin_prd.ads_scf_qualified_customers where 1=1
<DQ> and  REGIONAL_NAME in ?{DQ}</DQ>
<BM> and  CUST_NUMBER in ?{BM}</BM>
一个参数过滤的时候正常,加上第二个就报错了

报错为:报告: '预览: 财务月度融资数据(大区明细表2)20241126100758-371'   数据集: '未命名-2'   组件: '图表1'   执行用户: 'eng-410'
原因: 执行SQL失败:“errCode = 2, detailMessage = (10.133.105.9)[INTERNAL_ERROR]The depth of the expression tree is too big, make it less than 600”
回复

使用道具 4#

yhdata_FzXgJlZy青铜二
发表于 2024-11-26 10:12:21 显示全部楼层
yhdata_lyaa 发表于 2024-11-25 17:31
写成形式,参考https://www.yonghongtech.com/real-help/Z-Suite/10.2/ch/paramindataset.html

数据集参数我是这样写的:select *
from fin_prd.ads_scf_qualified_customers where 1=1
<DQ> and  REGIONAL_NAME in ?{DQ}</DQ>
<BM> and  CUST_NUMBER in ?{BM}</BM>
一个参数过滤的时候正常,加上第二个就报错了

报错为:报告: '预览: 财务月度融资数据(大区明细表2)20241126100758-371'   数据集: '未命名-2'   组件: '图表1'   执行用户: 'eng-410'
原因: 执行SQL失败:“errCode = 2, detailMessage = (10.133.105.9)[INTERNAL_ERROR]The depth of the expression tree is too big, make it less than 600”
回复

使用道具 5#

yhdata_FzXgJlZy青铜二
发表于 2024-11-26 10:14:32 显示全部楼层
隔壁老帆 发表于 2024-11-26 08:08
参考https://www.yonghongtech.com/rea ... paramindataset.html


数据集参数我是这样写的:select *
from fin_prd.ads_scf_qualified_customers where 1=1
<DQ> and  REGIONAL_NAME in ?{DQ}</DQ>
<BM> and  CUST_NUMBER in ?{BM}</BM>
一个参数过滤的时候正常,加上第二个就报错了

报错为:报告: '预览: 财务月度融资数据(大区明细表2)20241126100758-371'   数据集: '未命名-2'   组件: '图表1'   执行用户: 'eng-410'
原因: 执行SQL失败:“errCode = 2, detailMessage = (10.133.105.9)[INTERNAL_ERROR]The depth of the expression tree is too big, make it less than 600”
回复

使用道具 6#

yhdata_yzm
发表于 2024-11-26 10:19:39 显示全部楼层
错误通常发生在对表达式或查询复杂度有限制的系统或数据库中。
图表1执行的sql能从日志里拿出来吗?数据集的sql是怎么样的?
另外去掉数据集数据库内计算是否还会报错
回复

使用道具 7#

高级模式
您需要登录后才可以回帖 登录 | 免费注册

  • 官方微信

    欢迎关注永洪服务号!收费为0,价值无限

    扫码关注
  • 新浪微博

    让每位用户轻松挖掘数据价值!

    访问新浪微博
  • 智能客服
100W

用户等你来哦

Copyright   ©2012-2025  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |《永洪社区协议》
返回顶部