xiaozhihong created IOTDB-4963: ---------------------------------- Summary: The verification msg of Continuous Interval Functions needs to be optimized Key: IOTDB-4963 URL: https://issues.apache.org/jira/browse/IOTDB-4963 Project: Apache IoTDB Issue Type: Bug Components: mpp-cluster Affects Versions: 0.14.0-SNAPSHOT Reporter: xiaozhihong Assignee: liaolanyu Attachments: image-2022-11-16-17-11-55-305.png
Continuous Interval Functions for unsupported data types needs to be optimized, for example, (index:0) need to indicate which timeseries datatype does not match. {code:java} IoTDB> show timeseries root.sg.d1.*; +-------------+-----+--------+--------+--------+-----------+----+----------+ | Timeseries|Alias|Database|DataType|Encoding|Compression|Tags|Attributes| +-------------+-----+--------+--------+--------+-----------+----+----------+ |root.sg.d1.s3| null| root.sg| TEXT| PLAIN| SNAPPY|null| null| |root.sg.d1.s1| null| root.sg| INT64| RLE| SNAPPY|null| null| |root.sg.d1.s2| null| root.sg| FLOAT| RLE| SNAPPY|null| null| +-------------+-----+--------+--------+--------+-----------+----+----------+ Total line number = 3 It costs 0.004s IoTDB> select zero_duration(s3) from root.sg.d1; Msg: 416: Error occurred during inferring UDF data type: org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException: the data type of the input series (index: 0) is not valid. expected: [INT32, INT64, FLOAT, DOUBLE, BOOLEAN]. actual: TEXT. {code} !image-2022-11-16-17-11-55-305.png|width=803,height=141! -- This message was sent by Atlassian Jira (v8.20.10#820010)