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

[jira] [Created] (IOTDB-2091) Support aggregation with UDF nested query

Eric Pai created IOTDB-2091:
-------------------------------

             Summary: Support aggregation with UDF nested query
                 Key: IOTDB-2091
                 URL: https://issues.apache.org/jira/browse/IOTDB-2091
             Project: Apache IoTDB
          Issue Type: New Feature
          Components: Core/Engine
            Reporter: Eric Pai
            Assignee: Eric Pai
             Fix For: master branch


Currently we have already support udf nested query , i.e. f(g(a)). But we can't query like this
 * select sum(s1) + sum(s2), -sum(s3), sum(s4) + 1, sin(cos(sum(s5))) from root.sg.d1
 * select sum(s1) + sum(s2), -sum(s3), sum(s4) + 1, sin(cos(sum(s5))) from root.sg.* GROUP BY LEVEL=1
 * select sum(s1) + sum(s2), -sum(s3), sum(s4) + 1, sin(cos(sum(s5))) from root.sg.d1 GROUP BY([0, 9000), 1s);
 * select sum(s1) + sum(s2), -sum(s3), sum(s4) + 1, sin(cos(sum(s5))) from root.sg.d1 GROUP BY([0, 9000), 1s) FILL(previous);

This task's object is to implement the above quries with reusing existing calculation logics.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)