You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2022/04/07 09:05:00 UTC

[jira] [Assigned] (IOTDB-2815) Add a new interface of insertRecord without TsDataType

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

Haonan Hou reassigned IOTDB-2815:
---------------------------------

    Assignee: chencang

> Add a new interface of insertRecord without TsDataType
> ------------------------------------------------------
>
>                 Key: IOTDB-2815
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2815
>             Project: Apache IoTDB
>          Issue Type: New Feature
>          Components: Client/Java
>            Reporter: Haonan Hou
>            Assignee: chencang
>            Priority: Minor
>              Labels: easy-fix
>
> See discussion here https://github.com/apache/iotdb/discussions/5352
> It is possible to add a Syntactic sugar about this.
> {code:java}
> insertRecord(String deviceId, long time, List<String> measurements, List<Object> values)
> {code}
> Just use the actual Object type of values to infer the TsDataTypes in the Session client, and then send the values and TsDataTypes to server.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)