Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1212

select sin(not_exist) from root.sg1.d1; The error message is not right.

    XMLWordPrintableJSON

Details

    Description

      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):
      org.apache.iotdb.db.query.udf.api.exception.UDFInputSeriesNumberNotValidException: the number of the input series is not valid. expected: 1. actual: 0.

      The error message is not right.

      The actual is the input series does not exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            刘珍 刘珍
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: