You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/12/05 09:16:00 UTC

[jira] [Created] (IOTDB-5119) [M4]There is an exception in the M4 function query

xiaozhihong created IOTDB-5119:
----------------------------------

             Summary: [M4]There is an exception in the M4 function query
                 Key: IOTDB-5119
                 URL: https://issues.apache.org/jira/browse/IOTDB-5119
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Query, mpp-cluster
    Affects Versions: master branch, 1.0.0
            Reporter: xiaozhihong
         Attachments: image-2022-12-05-17-15-28-373.png

In V1.0, Started 3C3D.
Entered CLI, executed M4 query and reported a exception :
{code:java}
IoTDB> select temperature from root.ln.wf01.wt01;
+-----------------------------+-----------------------------+
|                         Time|root.ln.wf01.wt01.temperature|
+-----------------------------+-----------------------------+
|2017-11-05T10:20:00.000+08:00|                     25.57756|
|2017-11-05T10:21:00.000+08:00|                     23.97946|
|2017-11-05T10:22:00.000+08:00|                    22.720444|
+-----------------------------+-----------------------------+
Total line number = 3
It costs 0.007s

IoTDB> select M4(temperature,'timeInterval'='1000','displayWindowBegin'='1','displayWindowEnd'='100') from root.ln.wf01.wt01;
Msg: 301: Error occurred during executing UDTF#transform(RowWindow, PointCollector): 
java.lang.IndexOutOfBoundsException: Size is 0{code}

The log is:
!image-2022-12-05-17-15-28-373.png|width=542,height=225!



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