It is not possible to set 'smlAutoChildTableNameDelimiter' nor 'smlChildTableName' when trying to insert schemaless OpenTSDBJsonFormatProtocol using the nodeJs connector #28657
Labels
bug
Something isn't working
Bug Description
When setting
smlAutoChildTableNameDelimiter
to any value and then trying to insert schemaless data using theInfluxDB Line Protocol
via the@tdengine/websocket
node package, it results in an error. UsingsmlChildTableName
has no effect, and the table names are the same as when omitting to set this value.All of the above works when using
InfluxDB Line Protocol
instead ofOpenTSDB JSON protocol
but i actually would prefer using theOpenTSDB JSON protocol
I'm using the kubernetes Deployment from https://docs.tdengine.com/operation/deployment/#kubernetes. This has a few problems to start when using as described with tdengine 3.3.3.0 which i could resolve. I had to replace the
taoskeeper.toml
and set theTAOS_ADAPTER_NODE_EXPORTER_URLS
env variable as both had atbuildkitsandbox
somewhere instead of127.0.0.1
.To Reproduce
Steps to reproduce the behavior:
smlAutoChildTableNameDelimiter
to any value i tried it with '_'smlChildTableName
to 'tname'let jsonData = ["{\"metric\": \"metric_json\",\"tname\":\"some_tname\",\"timestamp\": 1626846400,\"value\": 10.3, \"tags\": {\"groupid\": 2, \"location\": \"California.SanFrancisco\", \"id\": \"d1001\"}}"];
some_tname
as defined above but the autogenerated nameExpected Behavior
It should work as described in the documentation https://docs.tdengine.com/reference/schemaless/#main-processing-logic-for-schemaless-writing, which is the case with the
InfluxDB Line Protocol
Screenshots
Error when using
smlAutoChildTableNameDelimiter
Environment
statefulset.yaml
service.yaml
configmap.yaml
taos-keeper-toml-cm.yaml
The text was updated successfully, but these errors were encountered: