wshao08 opened a new issue #2230:
URL: https://github.com/apache/iotdb/issues/2230


   This bug only occurs in IoTDB 0.11.
   When querying Last value from an empty timeseries, the server gives an 
exception and no result output.
   
   To Reproduce:
   1. Create a new timeseries
   ```
   CREATE TIMESERIES root.sg.d1.temperature WITH DATATYPE=FLOAT, ENCODING=RLE
   ```
   2. Query last value of this timeseries
   ```
   select last temperature from root.sg.d1
   ```
   
   This bug is fixed in PR: https://github.com/apache/iotdb/pull/2226
   
   ![Screen Shot 2020-12-09 at 2 02 28 
PM](https://user-images.githubusercontent.com/59866276/101595334-2ba3e500-3a2e-11eb-9828-ab3b6431c7d6.png)
   
   
![WechatIMG455](https://user-images.githubusercontent.com/59866276/101595358-33638980-3a2e-11eb-8cf7-07edb65d4a62.png)
   
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to