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)