[
https://issues.apache.org/jira/browse/IOTDB-5072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuan Tian reassigned IOTDB-5072:
--------------------------------
Assignee: liaolanyu (was: Yuan Tian)
> [udf] given variables greater than expecting, failed with 301 NPE
> -----------------------------------------------------------------
>
> Key: IOTDB-5072
> URL: https://issues.apache.org/jira/browse/IOTDB-5072
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: changxue
> Assignee: liaolanyu
> Priority: Major
> Attachments: image-2022-11-28-16-10-48-080.png
>
>
> [udf] given variables greater than expecting, failed with 301 NPE
> 3C3D cluster, Nov.28th 1.0 source codes
> *expect:*
> not NPE
> reproduction:
> {code:sql}
> CREATE TIMESERIES root.udf.user_d1.s1 WITH datatype=INT32,encoding=RLE;
> CREATE TIMESERIES root.udf.user_d1.s2 WITH datatype=INT32,encoding=RLE;
> INSERT INTO root.udf.user_d1(time,s1,s2) VALUES(1,23,32);
> INSERT INTO root.udf.user_d1(time,s1,s2) VALUES(2,31,19);
> INSERT INTO root.udf.user_d1(time,s1,s2) VALUES(3,null,21);
> INSERT INTO root.udf.user_d1(time,s1,s2) VALUES(4,20,32);
> INSERT INTO root.udf.user_d1(time,s1,s2) VALUES(5,33,null);
> INSERT INTO root.udf.user_d1(time,s1,s2) VALUES(6,19,28);
> IoTDB> SELECT example(s1, *) from root.udf.user_d1
> Msg: 301: Error occurred during executing UDTF#transform(Row,
> PointCollector):
> java.lang.NullPointerException
> {code}
> !image-2022-11-28-16-10-48-080.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)