KCheng-sun

Results 2 issues of KCheng-sun

## 概述 - 当字段存在别名时,使用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](https://user-images.githubusercontent.com/57204030/204478511-86fa2891-3346-41a4-84ad-2b9aae3c8032.png) ![image](https://user-images.githubusercontent.com/57204030/204479074-8a0c8b57-8147-48f1-9e21-b38f315afa40.png)

![image](https://user-images.githubusercontent.com/57204030/202674115-8844d5d5-511b-41ce-9433-0cbff16b1143.png) ![image](https://user-images.githubusercontent.com/57204030/202674409-3ecffd4e-9db4-4769-8c29-d7cd8da3ec7e.png)