InfluxCommunity/influxdb3-java

Add documentation for completely deleting a database or table via the InfluxDB 3 Java client

Closed this issue · 1 comments

Use Case

The Enterprise version adds onto Core’s functionality with:

  • Row-level delete support (coming soon)
curl --request POST http://localhost:8086/api/v2/delete?org=example-org&bucket=example-bucket \
  --header 'Authorization: Token YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "start": "2020-03-01T00:00:00Z",
    "stop": "2020-11-14T00:00:00Z",
    "predicate": "_measurement=\"example-measurement\" AND exampleTag=\"exampleTagValue\""
  }'

Expected behavior

  • Add documentation for completely deleting a database or table via the InfluxDB 3 Java client.

Actual behavior

  • There is currently a lack of documentation on completely deleting a database or table via the Influxdb 3 Java client.

Additional info

Hi @linghengqian,

Thank you for your continued interest in our client.

As of now, there is no plan from our side to implement this specific function. However, as mentioned previously, we are very open to community contributions and would gladly review and potentially approve any Pull Requests (PRs) that you or other community members would like to submit.

If you are looking for inspiration or a starting point for adding this function to our client, I recommend checking out the go-v3 client. This version of the client, contains management API developed by the community that could serve as a good reference for how similar functionalities can be implemented.

We appreciate your willingness to contribute and enhance the capabilities of our client.

Best Regards