apache / apache/iotdb

0.13.1 pre release 时间序列不能自动创建

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

Description

**问题描述**
- iotdb 版本:[0.13.1 pre release ]([apache-iotdb-0.13.1-server-bin.zip](https://github.com/apache/iotdb/releases/download/v0.13.1/apache-iotdb-0.13.1-server-bin.zip))
- `iotdb-engine.properties` 配置文件中` enable_auto_create_schema=true `这个已经开启
- 以下是做的操作:
```
IoTDB> create storage group root.fz4.ceshi.s_2;
Msg: The statement is executed successfully.
IoTDB> create schema template tceshi aligned (
> long_value int64 encoding=RLE,
> station_id int32 encoding=RLE);
Msg: The statement is executed successfully.
IoTDB> set schema template tceshi to root.fz4.ceshi.s_2;
Msg: The statement is executed successfully.
IoTDB> insert into root.fz4.ceshi.s_2.io_1(timestamp,long_value,station_id) aligned values(now(),1,1);
Msg: 304: Path [root.fz4.ceshi.s_2.io_1] does not exist

```
- 该操作在 0.13 release 中是可以正常操作的

Contributor guide

Open the contributing guide

Research direction

Reproduce the SQL sequence from the report with enable_auto_create_schema=true: create the storage group and aligned schema template, set the template, then run the aligned insert. Compare the result between the 0.13 release and the 0.13.1 pre-release; done means the insert no longer reports that the path does not exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
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.