Haonan Hou created IOTDB-1059:
---------------------------------

             Summary: Use current system timestamp when insert data points 
without timestamps
                 Key: IOTDB-1059
                 URL: https://issues.apache.org/jira/browse/IOTDB-1059
             Project: Apache IoTDB
          Issue Type: New Feature
          Components: Core/Engine
            Reporter: Haonan Hou


When the users insert data without timestamp, the server should use the current 
system timestamp to pair with the data points.

For example, to support sql statement like this:
{code:sql}
insert into root.ln.wf02.wt02(status, hardware) VALUES (false, 'v2'){code}
Then the query result will be:
{code:java}
+-----------------------------+--------------------------+------------------------+
|                         
Time|root.ln.wf02.wt02.hardware|root.ln.wf02.wt02.status|
+-----------------------------+--------------------------+------------------------+
|2020-12-15T08:00:00.002+08:00|                        v2|                   
false|
+-----------------------------+--------------------------+------------------------+
Total line number = 2
It costs 0.170s
{code}
The session client can support this feature as well. 



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

Reply via email to