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 2022/07/26 02:57:00 UTC
[jira] [Commented] (IOTDB-3626) Wrong row cnt in IoTDBUDTFAlignByTimeQueryIT
[ https://issues.apache.org/jira/browse/IOTDB-3626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571179#comment-17571179 ]
liaolanyu commented on IOTDB-3626:
----------------------------------
s1: (1,1) (2,2)......(10,10)
select max(s1) from root.sg where s1 >= 3 and s1 <7
正确值:(6,6)
之前的做法:对1-10这十个点都进行了max的比对,导致max的结果是10,时间戳是10,然后在filter过滤的时候,其实只有3-6这几个时间戳是要保留的,所以max的结果就不对了
现在的做法:先过滤再进行计算,规避了这种问题。
> Wrong row cnt in IoTDBUDTFAlignByTimeQueryIT
> --------------------------------------------
>
> Key: IOTDB-3626
> URL: https://issues.apache.org/jira/browse/IOTDB-3626
> Project: Apache IoTDB
> Issue Type: Improvement
> Reporter: liaolanyu
> Assignee: liaolanyu
> Priority: Major
> Labels: pull-request-available
> Attachments: cluster-logs.zip
>
>
> queryWithValueFilter9 and queryWithValueFilter10 will fail.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)