Skip to content

[To rel/0.13] [IOTDB-8050] Throws a NullPointerException when a column with a guarantee alias is queried using the udf custom method#8245

Open
KCheng-sun wants to merge 1 commit intoapache:rel/0.13from
KCheng-sun:rel/0.13
Open

[To rel/0.13] [IOTDB-8050] Throws a NullPointerException when a column with a guarantee alias is queried using the udf custom method#8245
KCheng-sun wants to merge 1 commit intoapache:rel/0.13from
KCheng-sun:rel/0.13

Conversation

@KCheng-sun
Copy link

概述

  • 当字段存在别名时,使用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)

关联截图或视频等

image
image

@KCheng-sun KCheng-sun changed the title [IOTDB-8050] Throws a NullPointerException when a cloumn with a guarantee alias is queried using the udf custom method [IOTDB-8050] Throws a NullPointerException when a column with a guarantee alias is queried using the udf custom method Nov 29, 2022
@liuminghui233 liuminghui233 changed the title [IOTDB-8050] Throws a NullPointerException when a column with a guarantee alias is queried using the udf custom method [To rel/0.13] [IOTDB-8050] Throws a NullPointerException when a column with a guarantee alias is queried using the udf custom method Nov 29, 2022
@jiayp
Copy link

jiayp commented Mar 2, 2023

any update?

@jiayp
Copy link

jiayp commented Mar 13, 2023

1.0已经没这个文件了?这个问题还存在吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants