How to read from influxdb using pyspark 3.0.0

how to read from influxdb using pyspark 3.0.0

Probably best to use the rest api