140378476 opened a new issue #2131:
URL: https://github.com/apache/iotdb/issues/2131


   **Describe the bug**
   1. I can not get precise result of float values using  `select` query.
   2. When executing `select` and `select last`, I got float values in 
different precisions.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Create timeseries: ` CREATE TIMESERIES root.t.d WITH DATATYPE=FLOAT, 
ENCODING=RLE`
   2. Insert data: `INSERT INTO root.t(timestamp,d) VALUES(1,1.23456789)`
   3. Select data: `SELECT * FROM root.t`, the returned value is `1.23`.
   4. Select data using last: ` SELECT LAST * FROM root.t`, the returned value 
is `1.2345679`.
   
   **Expected behavior**
   It should return at least the precise float value instead of an approximate 
one. 
   The result is expected to at least be the same as the returned value using 
select last.
   
   **Screenshots**
   
   
![图片](https://user-images.githubusercontent.com/21256331/100367025-958aba80-303c-11eb-8bd6-2c2aa1527670.png)
   
   
   **Desktop (please complete the following information):**
    - OS: Windows10
    - Version iotdb 0.10.1
   
   
   
   **Additional context**
   No
   


----------------------------------------------------------------
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.

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


Reply via email to