yhdata_m6iht3hf青铜二
6 小时前 发布在问答
【填报与传统报表】 报告查询不报错,编辑报错
报告查询没有问题,双击进入编辑时报错,有遇到过这个情况的吗
23
6
精彩评论6
yhdata_lyaa
发表于 5 小时前 显示全部楼层
报什么错
回复

使用道具 2#

yhdata_m6iht3hf青铜二 回复yhdata_lyaa
发表于 2025-09-10 16:49:24
执行SQL失败:“errCode = 2, detailMessage = (10.98.37.90)[INTERNAL_ERROR]VSlotRef have invalid slot id: 656, desc: tuple_desc_map: [Tuple(id=50 slots=[Slot(id=645 type=VARCHAR col=-1, colname=, nullable=1), Slot(id=646 type=VARCHAR col=-1, colname=, nullable=1), Slot(id=647 type=VARCHAR col=-1, colname=, nullable=1), Slot(id=648 type=BIGINT col=-1, colname=, nullable=1), Slot(id=649 type=BIGINT col=-1, colname=, nullable=1), Slot(id=650 type=BIGINT col=-1, colname=, nullable=1), Slot(id=651 type=DOUBLE col=-1, colname=, nullable=1), Slot(id=652 type=DOUBLE col=-1, colname=, nullable=1), Slot(id=653 type=BIGINT col=-1, colname=, nullable=0), Slot(id=654 type=DOUBLE col=-1, colname=, nullable=1), Slot(id=655 type=DOUBLE col=-1, colname=, nullable=1)] has_varlen_slots=1)] tuple_id_map: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0] tuple_is_nullable: [0] , slot_desc: Slot(id=656 type=VARCHAR col=-1, colname=, nullable=1), desc_tbl: tuples:
回复

yhdata_m6iht3hf青铜二
发表于 5 小时前 显示全部楼层
其中一部分报错
回复

使用道具 3#

yhdata_m6iht3hf青铜二
发表于 5 小时前 显示全部楼层
本帖最后由 yhdata_m6iht3hf 于 2025-9-10 16:56 编辑

with A AS ( select * from ... )
SELECT 年度,分类,度量 FROM A WHERE 1=1 AND <AA> AND ?{BB} =2</AA>
UNION ALL
SELECT 年度,小计,SUM(度量) FROM A GROUP BY 年度

报告打开默认展示小计,?{BB} 值为1
数据集逻辑写法
回复

使用道具 4#

yhdata_lyaa
发表于 4 小时前 显示全部楼层
数据集报错吗,可以截图看看具体报错吗
回复

使用道具 5#

yhdata_m6iht3hf青铜二 回复yhdata_lyaa
发表于 2025-09-10 18:51:36
就是2楼的错误
回复

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

  • 官方微信

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

    扫码关注
  • 新浪微博

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

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

用户等你来哦

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