You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Zhong Wang (Jira)" <ji...@apache.org> on 2021/10/25 06:59:00 UTC

[jira] [Created] (IOTDB-1885) Type inference

Zhong Wang created IOTDB-1885:
---------------------------------

             Summary: Type inference
                 Key: IOTDB-1885
                 URL: https://issues.apache.org/jira/browse/IOTDB-1885
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Engine
            Reporter: Zhong Wang


Currently, arithmetic operation's inputs/outputs are treated as doubles (See: ArithmeticBinaryTransformer#evaluate). But sometimes this can be really unintuitive. For example, the sum of two int32 time series results in a double.

Since we have the metadata of every time series that takes part in the calculation, we can implement type inference to make the results more intuitive.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)