influxdata / influxdata/docs-v2

Double quotes on selectors

Open
#4,751 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Selector queries need double quotes on column names
##### Relevant URLs
https://docs.influxdata.com/influxdb/cloud-iox/reference/sql/functions/selectors/#selector-functions-in-use
From:
```
SELECT
selector_first(temp, time)['time'] AS time,
selector_first(temp, time)['value'] AS temp,
room
FROM home
GROUP BY room
```

To

```
SELECT
selector_first("temp", "time")['time'] AS time,
selector_first("temp", "time")['value'] AS temp,
room
FROM home
GROUP BY room
```
Thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the selector functions example at the linked InfluxDB documentation URL and compare the current query with the requested version. Update the selector column references to use double quotes, then verify the rendered example and SQL syntax on that page.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.