Search code examples
databasetime-seriesapache-iotdb

Why returned false when using booleancheckTimeseriesExists for existed time series in Apache IoTDB?


I checked the time series in Apache IoTDB, and it exists. However, when I use the booleancheckTimeseriesExists(String path) method to query certain data results for this time series, the results returned to be false.

Why did this error occur?


Solution

  • Check if you give a specific time series in booleancheckTimeseriesExists of Apache IoTDB (not a root name or device name). If not, you need to switch to give a specific time series to get the result.