fix more md lint errors
parent
3db5c7465d
commit
2cc6acdbb6
|
@ -88,7 +88,7 @@ The `GOMAXPROCS` [Go language environment variable](https://golang.org/pkg/runti
|
|||
can be used to set the maximum number of CPUs that can execute simultaneously.
|
||||
|
||||
The default value of `GOMAXPROCS` is the number of CPUs (whatever your operating
|
||||
system considers to be a CPU) that are visible to the program *on startup.*
|
||||
system considers to be a CPU) that are visible to the program _on startup_.
|
||||
For a 32-core machine, the `GOMAXPROCS` value would be `32`.
|
||||
You can override this value to be less than the maximum value, which can be
|
||||
useful in cases where you are running the InfluxDB along with other processes on
|
||||
|
|
|
@ -405,7 +405,7 @@ This error occurs when the Docker container cannot read files on the host machin
|
|||
docker run -v /dir/path/on/host:/dir/path/in/container
|
||||
```
|
||||
|
||||
3. Verify the Docker container can read host machine files by running the following command:
|
||||
3. Verify the Docker container can read host machine files by running the following command:
|
||||
|
||||
```bash
|
||||
influx -import -path=/path/in/container
|
||||
|
|
|
@ -1207,27 +1207,29 @@ To keep regular expressions and quoting simple, avoid using the following charac
|
|||
|
||||
## When should I single quote and when should I double quote when writing data?
|
||||
|
||||
* Avoid single quoting and double quoting identifiers when writing data via the line protocol; see the examples below for how writing identifiers with quotes can complicate queries.
|
||||
Identifiers are database names, retention policy names, user names, measurement names, tag keys, and field keys.
|
||||
- Avoid single quoting and double quoting identifiers when writing data via the
|
||||
line protocol; see the examples below for how writing identifiers with quotes
|
||||
can complicate queries. Identifiers are database names, retention policy
|
||||
names, user names, measurement names, tag keys, and field keys.
|
||||
|
||||
Write with a double-quoted measurement: `INSERT "bikes" bikes_available=3`
|
||||
Applicable query: `SELECT * FROM "\"bikes\""`
|
||||
Write with a double-quoted measurement: `INSERT "bikes" bikes_available=3`
|
||||
Applicable query: `SELECT * FROM "\"bikes\""`
|
||||
|
||||
Write with a single-quoted measurement: `INSERT 'bikes' bikes_available=3`
|
||||
Applicable query: `SELECT * FROM "\'bikes\'"`
|
||||
Write with a single-quoted measurement: `INSERT 'bikes' bikes_available=3`
|
||||
Applicable query: `SELECT * FROM "\'bikes\'"`
|
||||
|
||||
Write with an unquoted measurement: `INSERT bikes bikes_available=3`
|
||||
Applicable query: `SELECT * FROM "bikes"`
|
||||
Write with an unquoted measurement: `INSERT bikes bikes_available=3`
|
||||
Applicable query: `SELECT * FROM "bikes"`
|
||||
|
||||
* Double quote field values that are strings.
|
||||
- Double quote field values that are strings.
|
||||
|
||||
Write: `INSERT bikes happiness="level 2"`
|
||||
Applicable query: `SELECT * FROM "bikes" WHERE "happiness"='level 2'`
|
||||
Write: `INSERT bikes happiness="level 2"`
|
||||
Applicable query: `SELECT * FROM "bikes" WHERE "happiness"='level 2'`
|
||||
|
||||
* Special characters should be escaped with a backslash and not placed in quotes.
|
||||
- Special characters should be escaped with a backslash and not placed in quotes.
|
||||
|
||||
Write: `INSERT wacky va\"ue=4`
|
||||
Applicable query: `SELECT "va\"ue" FROM "wacky"`
|
||||
Write: `INSERT wacky va\"ue=4`
|
||||
Applicable query: `SELECT "va\"ue" FROM "wacky"`
|
||||
|
||||
For more information , see [Line protocol](/influxdb/v1/write_protocols/).
|
||||
|
||||
|
|
Loading…
Reference in New Issue