Add documentation for completely deleting a database or table via the InfluxDB 3 Java client
Closed this issue · 1 comments
Use Case
-
I noticed that https://docs.influxdata.com/influxdb3/core/ has this paragraph,
The Enterprise version adds onto Core’s functionality with:
- Row-level delete support (coming soon)
- I personally think I should be able to understand this as not supporting operations like https://docs.influxdata.com/influxdb/v2/write-data/delete-data/ on influxdb 3 core to delete specific data in the database or table.
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\""
}'- But I don't seem to see an explanation of how to delete an entire table or database in https://github.com/InfluxCommunity/influxdb3-java/blob/main/README.md .
- Is this a missing document? Or is it just a missing SQL function like
DROP TABLE IF EXISTS t_order?
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
- Early investigations came from the unit tests on the https://github.com/linghengqian/influxdb-3-core-jdbc-test side.
- I just link to influxdata/influxdb#21563 by the way.
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
