You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2021/03/11 08:15:00 UTC

[jira] [Created] (IOTDB-1212) select sin(not_exist) from root.sg1.d1; The error message is not right.

刘珍 created IOTDB-1212:
-------------------------

             Summary:  select sin(not_exist) from root.sg1.d1; The error message is not right.
                 Key: IOTDB-1212
                 URL: https://issues.apache.org/jira/browse/IOTDB-1212
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Client/Java
            Reporter: 刘珍


master branch 

commit id : 5fcff40f2299caeb0c8a9ae42f68bc18ecf8fee7

 

SET STORAGE GROUP TO root.sg1;
CREATE TIMESERIES root.sg1.d1.s1 WITH DATATYPE=INT32, ENCODING=PLAIN;
CREATE TIMESERIES root.sg1.d1.s2 WITH DATATYPE=INT32, ENCODING=PLAIN;
INSERT INTO root.sg1.d1(timestamp, s1, s2) VALUES (0, -1, 1);
INSERT INTO root.sg1.d1(timestamp, s1, s2) VALUES (1, -2, 2);
INSERT INTO root.sg1.d1(timestamp, s1, s2) VALUES (2, -3, 3);

select sin(not_exist) from root.sg1.d1;

 

Msg: 411: Error occurred in query process: Error occurred during executing UDTF#validate(UDFParameterValidator):
{color:#FF0000}org.apache.iotdb.db.query.udf.api.exception.UDFInputSeriesNumberNotValidException: the number of the input series is not valid. expected: 1. actual: 0.{color}

{color:#FF0000}The error message is not right.{color}

{color:#ff0000}The actual is the input series does not exist.{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)