apache / apache/iotdb

[Feature request] 希望能够新增设备(Device)的元数据相关的查询功能。

Open
#14,843 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Motivation

如:
1. IoTDB> show devices root.ln.** where template = 't1',显示device的对应的创建时间(第一次出现的时间),最后一次出现的时间,测试点,数据点总数等等元数据信息;
2. IoTDB> show devices root.ln.** where time >= 1 and time <= 100,显示指定时间内出现的所有的devices(这个语句有些版本支持:version 1.3.3 (Build: ad95a7e),但经常会报各种异常,如:Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 301: Cannot invoke "java.util.List.isEmpty()" because "bitMaps" is null)

### Solution

_No response_

### Alternatives

_No response_

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by investigating IoTDB's SHOW DEVICES query behavior, including template and time predicates. Reproduce the reported version 1.3.3 JDBC failure involving a null bitMaps list, then review how device creation time, last-seen time, measurement points, and total data-point counts could be defined. Done means the requested metadata queries have an agreed scope and working behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.