iotdb
iotdb copied to clipboard
[To rel/0.13] [IOTDB-8050] Throws a NullPointerException when a column with a guarantee alias is queried using the udf custom method
概述
- 当字段存在别名时,使用udf方法+聚合查询(sum,avg...)+别名时,查询抛出空指针异常
复现步骤
- 创建字段别名,如,CO2_DOUBLE => CO2(别名)
- 创建udf方法,如,NULL_TO_ZERO()
- 执行查询 select NULL_TO_ZERO(sum(
CO2)) from root.ln_1.tb_01 group by([1667232000000, 1669824000000), 1d)
关联截图或视频等
