influxdata / influxdata/influxdb1-client

Querying via UDP is not supported

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
192
Forks
109
PR merge metrics
No merged PRs in 30d

Description

When I used UDP client to query, case panic: Querying via UDP is not supported

code summary:
```go
c, err = client.NewUDPClient(client.UDPConfig{
Addr: alc.InfluxDBAddr,
})
...
client.NewQuery(fmt.Sprintf("CREATE DATABASE %s", "testdb"), "", "")
response, err := c.Query(q)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at client.NewUDPClient and the c.Query(q) call shown in the report, then reproduce the panic with the provided CREATE DATABASE query. Trace how UDP requests are handled and clarify the intended behavior for queries; done means the issue has an agreed implementation scope and verified behavior rather than an unsupported panic.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.