[ 
https://issues.apache.org/jira/browse/IOTDB-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17634291#comment-17634291
 ] 

Yuan Tian commented on IOTDB-4932:
----------------------------------

It should just return empty result set instead of throwing error. Keep the same 
as other queries in IoTDB.

It's designed to be so.

> [UDF]Using UDF on a non-existent timeseries, should return error
> ----------------------------------------------------------------
>
>                 Key: IOTDB-4932
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4932
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: changxue
>            Assignee: Yuan Tian
>            Priority: Minor
>
> [UDF]Using UDF on a non-existent timeseries, should return error
> reproduction:
> {code:java}
> create function my_sum as "com.timecho.udf.normal.MySum";
> -- root.abcdefg does not exist.
> select my_sum(s1) from root.abcdefg.dddd; {code}
> It should return an error, because the database ,the device and the 
> timeseries are not existed. 
> We are trying getting data from a non-existent database, the database system 
> should tell us it's not correct to do this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to