influxdb-python icon indicating copy to clipboard operation
influxdb-python copied to clipboard

Add functions to SHOW TAG KEYS and SHOW FIELD KEYS

Open tuykroa opened this issue 4 years ago • 4 comments

Then supported these 2 new functions : SHOW TAG KEYS & SHOW FIELD KEYS like InfluxDB show field keys in query-language https://docs.influxdata.com/influxdb/v1.7/query_language/schema_exploration/#show-field-keys

[x]Controlled

If you accept my contribution to this feature

tuykroa avatar Feb 01 '20 03:02 tuykroa

Then supported these 2 new functions : SHOW TAG KEYS & SHOW FIELD KEYS like InfluxDB show field keys in query-language https://docs.influxdata.com/influxdb/v1.7/query_language/schema_exploration/#show-field-keys

[x]Controlled [x]Verified If you accept my contribution to this feature

tuykroa avatar Feb 01 '20 20:02 tuykroa

Thanks for the commit @tuykroa, really appreciate your help! If you're still interested in merging this PR can I please ask you to do the following:

  • [ ] flush out the show tag keys command similar to what the documentation calls for, including capability to drill down on specific db or measurement
  • [ ] flush out the show field keys command similar to the above
  • [ ] add tests for show tag keys
  • [ ] add tests for show field keys

You can use https://github.com/influxdata/influxdb-python/blob/8a8b8ff3c7d517959146c9daeb09c982a9c184b1/influxdb/client.py#L649 as an example.

Thanks!

sebito91 avatar Apr 10 '20 02:04 sebito91

@tuykroa just following up to see if you were able to make some progress here?

sebito91 avatar Jun 04 '20 19:06 sebito91

I'm depending on this ... when does it get reviewed?

one4many avatar Aug 21 '20 14:08 one4many