apache / apache/iotdb

重启后再次修改测点的tag发现没法按照tag做查询了

Open
#3,424 2 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

1.老版本是11.3,加了测点
2.后面升级到11.5后,在次修改测点(sql=ALTER timeseries {} UPSERT ALIAS={} TAGS(name='{}',dir='{}',exName='{}',description='{}',unit='{}') ATTRIBUTES(minValue={},maxValue={})),sessionPool.executeNonQueryStatement(sql)修改是正常提交了,但完成后根据tag查不到数据
3.实在没有办法就删除了测点 delete timeseries,重新添加测点
4.再次查询,发现可以正常了

Contributor guide

Open the contributing guide

Research direction

Reproduce the upgrade from IoTDB 11.3 to 11.5, then use sessionPool.executeNonQueryStatement with the reported ALTER timeseries statement and query by tag after restarting. Confirm that modifying an existing measurement preserves tag-based query results, while deleting and recreating it remains a comparison case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.