Julian Feinauer created IOTDB-742:
-------------------------------------
Summary: Add Support for structured Messages, e.g. in JSON format
Key: IOTDB-742
URL: https://issues.apache.org/jira/browse/IOTDB-742
Project: Apache IoTDB
Issue Type: New Feature
Reporter: Julian Feinauer
Currently IoTDB Supports only primitives which are stored in a single
measurement. If we would add a "logical" layer on top we could just split each
JSON message into its primitives and store it accordingly. If the message is
not nested but only key-value pair this is simply a "syntactic sugar".
Consider the following IoTDB Command:
{code:sql}
INSERT INTO root.demo.cars.mycar (time, json) VALUES (NOW(), "{\"speed\": 100,
\"color\": \"red\"}")
{code}
It uses the word "json" as colum name which indicates that it wants to store a
json. Thus IoTDB should store the data from the json and this is equivalent to
the normal syntax
{code:sql}
INSERT INTO root.demo.cars.mycar (time, speed, color) VALUES (NOW(), 100, "red")
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)