You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "liaolanyu (Jira)" <ji...@apache.org> on 2023/09/12 13:10:00 UTC
[jira] [Commented] (IOTDB-6149) Fix incorrect output of UDF with multiple inputs
[ https://issues.apache.org/jira/browse/IOTDB-6149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764177#comment-17764177 ]
liaolanyu commented on IOTDB-6149:
----------------------------------
https://github.com/apache/iotdb/pull/11124
> Fix incorrect output of UDF with multiple inputs
> ------------------------------------------------
>
> Key: IOTDB-6149
> URL: https://issues.apache.org/jira/browse/IOTDB-6149
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: liaolanyu
> Assignee: liaolanyu
> Priority: Major
> Attachments: udf.jar
>
>
> How to reproduce:
> # Create a function with UDF that uses SlidingTimeWinodw AccessStrategy and takes multiple expressions as input.
> # Run a query using this function with multiple inputs like: select func(s1, s2) from root.sg
> # See if the ouput is correct.
> You can use the attached jar as the udf lib.
> Inserting data into two series is enough to reproduce this issue.
> You can register the UDF and run the SQL as follows:
> CREATE FUNCTION best_fit_retrieval AS 'org.apache.iotdb.udf.cisdi.tendency.CisdiUDTFBestFitRetrievalWithText';
> select best_fit_retrieval(s1,'cycleTime'='10','preValue'='0.41335068807341324','preTime'='0','afterValue'='null', 'afterTime'='0','startTime'='1','endTime'='10','isCalcFitValue'='true','isCollectorNull'='false','interpolationType'='Linear') from root.test.unitTest;
--
This message was sent by Atlassian Jira
(v8.20.10#820010)