Yuan Tian created IOTDB-5000:
--------------------------------

             Summary: Implement a new built-in function DIFFERENCE
                 Key: IOTDB-5000
                 URL: https://issues.apache.org/jira/browse/IOTDB-5000
             Project: Apache IoTDB
          Issue Type: New Feature
            Reporter: Yuan Tian
            Assignee: 李伟豪


Returns the result of subtraction between subsequent column values;

You can refer to influxDB 
([https://docs.influxdata.com/influxdb/v2.5/query-data/influxql/functions/transformations/#difference)]

Actually, this function is a substitution for window function lag and lead.

We should decide to how to deal with null value, so before starting, you should 
figure out how other dbs deal with that like InfluxDB, TimescaleDB(using lag 
and lead windows function to mimic).



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

Reply via email to