[
https://issues.apache.org/jira/browse/IOTDB-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liaolanyu reassigned IOTDB-4245:
--------------------------------
Assignee: liaolanyu
> Wrong integer upper bound about data type inferring of timeseries
> -----------------------------------------------------------------
>
> Key: IOTDB-4245
> URL: https://issues.apache.org/jira/browse/IOTDB-4245
> Project: Apache IoTDB
> Issue Type: Improvement
> Affects Versions: 0.14.0-SNAPSHOT, 0.13.1
> Environment: Windows 10
> Reporter: Tao Yi
> Assignee: liaolanyu
> Priority: Minor
> Attachments: image-2022-09-09-19-49-14-738.png
>
>
> *Describe the questions*
> [The auto create metadata of
> document|https://iotdb.apache.org/UserGuide/V0.13.x/Operate-Metadata/Auto-Create-MetaData.html#auto-create-time-series-metadata-infer-data-type-in-the-backend]
> told that we can write data when the aim timeseries haven't defined by users
> themselves.
> However, the fact upper bound of integer_string_infer_type is not 2^24 in the
> document, but 2^25= 33554432.
> *To Reproduce*
> Using all the default settings in IoTDB v0.14.0-SNAPSHOT
> Run the following iotdb-sql in iotdb-client:
> {{insert into root.sg0(timestamp, t1) values(1, 33554432)}}
> {{insert into root.sg0(timestamp, t2) values(1, 33554433)}}
> {{show timeseries}}
> In IoTDB v0.13.2-SNAPSHOT will also get the same result.
> *Screenshots*
> !image-2022-09-09-19-49-14-738.png|width=994,height=708!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)