Skip to content

[IoTDB 0.11]Error occurs when selecting Last from an empty timeseries with no cached value #2230

@wshao08

Description

@wshao08

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
  1. Query last value of this timeseries
select last temperature from root.sg.d1

This bug is fixed in PR: #2226

Screen Shot 2020-12-09 at 2 02 28 PM

WechatIMG455

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions