You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/08/21 01:50:43 UTC

[GitHub] [iotdb] nlosilva1 opened a new issue, #7071: Do we need reject inserting an invalid infinity float value while in select into & fill

nlosilva1 opened a new issue, #7071:
URL: https://github.com/apache/iotdb/issues/7071

   **Describe the bug**
   Like [IOTDB-2732](https://issues.apache.org/jira/browse/IOTDB-2732), I try to insert a infinity value into a float timeseries, not inserting directly but using "select into" clause. And then, the iotdb doesn't reject it but remain Infinity in the database. Should it be checked and rejected like IOTDB-2732? 
   I also check the fill of int32 which can correctly reject it by returning `283 - Value fill doesn't support the 0-th column in SQL`. 
   Thanks.
   
   **To Reproduce**
   Run the following statements in iotdb-client:
   `create timeseries root.sg0.t0 with datatype=float, encoding=plain`
   `create timeseries root.sg0.t1 with datatype=float, encoding=plain`
   `select last_value(t0) into t1 from root.sg0 group by ([0,20), 5ms) fill(3.5e38)`
   `select * from root.sg0`
   
   **Expected behavior**
   The system will reject the select into statement, and there won't be Infinity in the database. 
   
   **Screenshots**
   ![image](https://user-images.githubusercontent.com/25195216/185771763-5f7d7d59-5164-423a-8e13-ec227fea7cc2.png)
   
   
   **Desktop (please complete the following information):**
    - OS: Windows 10
    - IoTDB version 0.13.1
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org