[
https://issues.apache.org/jira/browse/IOTDB-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433805#comment-17433805
]
Zhong Wang commented on IOTDB-1885:
-----------------------------------
Sure.
> Support 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
> Priority: Major
>
> 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)