influx query: add the ability to run an influxql query
our query api for cloud supports influxql queries: https://docs.influxdata.com/influxdb/cloud/api/#operation/PostQuery
this issue would update the influx query command to include an explicit --type flag which would default to flux. When set to influxql it would interpret the query or the file as an influxql query and send it accordingly.
@russorat does InfluxQL support enabling profilers like Flux does? Or would we raise an error when profilers are specified + --type influxql?
the existing options wouldn't work, but there is an explain command in influxql: https://docs.influxdata.com/influxdb/v1.8/query_language/spec/#explain
We now have the influx v1 shell which allows users to make InfluxQL queries from the CLI, merged here #386.