[ 
https://issues.apache.org/jira/browse/IOTDB-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jialin Qiao closed IOTDB-193.
-----------------------------
    Fix Version/s: 0.9.0
       Resolution: Fixed

> Create schema automatically in the insertion
> --------------------------------------------
>
>                 Key: IOTDB-193
>                 URL: https://issues.apache.org/jira/browse/IOTDB-193
>             Project: Apache IoTDB
>          Issue Type: New Feature
>            Reporter: Jialin Qiao
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Setting storage group and creating time series can be troublesome when using 
> IoTDB in applications.
> Let's look at the typical scenes:
> The devices send messages to Kafka. Each message includes: factoryId, 
> deviceId, timestamp, s1_value, s2_value, s3_value. 
> The consumer of Kafka needs to consume the messages and organize the data 
> into an insert statement: "insert into root.factoryId.deviceId(time, s1, s2, 
> s3) values(timestamp, s1_value, s2_value, s3_value)"
> Before inserting the data into IoTDB, the consumer needs to judge whether the 
> storage group and time series are created before, which is not convenient. 
> Typically, there are 3 ways to do that:
>  # Caching the storage group and timeseries created before in the consumer
>  # Query from IoTDB whether a storage group and timeseries exists
>  # Directly create metadata regardless of whether created before
> Could IoTDB support creating metadata (at least time series) automatically 
> when receiving an insertion?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to