Merge branch 'master' into jstirnaman/issue5463
commit
76df36d514
|
@ -1010,7 +1010,7 @@ paths:
|
|||
|
||||
### Notable behaviors
|
||||
|
||||
- InfluxDB might take some time--from a few seconds to a few minutes-- to activate and synchronize new tokens. If a new database token doesn't immediately work (you receive a `401 Unauthorized` error) for querying or writing, wait and then try your request again.
|
||||
- InfluxDB might take some time--from a few seconds to a few minutes--to activate and synchronize new tokens. If a new database token doesn't immediately work (you receive a `401 Unauthorized` error) for querying or writing, wait and then try your request again.
|
||||
|
||||
- Token strings are viewable _only_ on token creation and aren't stored by InfluxDB; you can't recover a lost token.
|
||||
|
||||
|
|
|
@ -56,6 +56,15 @@ and only 1 time part.
|
|||
|
||||
_View [partition template part restrictions](/influxdb/cloud-dedicated/admin/custom-partitions/partition-templates/#restrictions)._
|
||||
|
||||
{{% note %}}
|
||||
#### Always provide a time format when using custom partitioning
|
||||
|
||||
When defining a custom partition template for your database or table using any
|
||||
of the `influxctl` `--template-*` flags, always include the `--template-timeformat`
|
||||
flag with a time format to use in your partition template.
|
||||
Otherwise, InfluxDB omits time from the partition template and won't compact partitions.
|
||||
{{% /note %}}
|
||||
|
||||
## Create a database with a custom partition template
|
||||
|
||||
The following example creates a new `example-db` database and applies a partition
|
||||
|
|
|
@ -61,7 +61,7 @@ or the [Management HTTP API](influxdb/cloud-dedicated/api/management/) to create
|
|||
|
||||
<!------------------------------- BEGIN INFLUXCTL ----------------------------->
|
||||
Use the [`influxctl token create` command](/influxdb/cloud-dedicated/reference/cli/influxctl/token/create/)
|
||||
to create a token that grants access to databases in your {{% product-name omit="Clustered" %}} cluster.
|
||||
to create a token that grants access to databases in your {{% product-name omit=" Clustered" %}} cluster.
|
||||
|
||||
1. If you haven't already, [download and install the `influxctl` CLI](/influxdb/cloud-dedicated/reference/cli/influxctl/#download-and-install-influxctl), and then [configure an `influxctl` connection profile](/influxdb/cloud-dedicated/reference/cli/influxctl/#configure-connection-profiles) for your cluster.
|
||||
2. In your terminal, run the `influxctl token create` command and provide the following:
|
||||
|
|
|
@ -60,6 +60,15 @@ into a specified number of "buckets."
|
|||
Each of these can be used as part of the partition template.
|
||||
Be sure to follow [partitioning best practices](/influxdb/cloud-dedicated/admin/custom-partitions/best-practices/).
|
||||
|
||||
{{% note %}}
|
||||
#### Always provide a time format when using custom partitioning
|
||||
|
||||
If defining a custom partition template for your database with any of the
|
||||
`--template-*` flags, always include the `--template-timeformat` flag with a
|
||||
time format to use in your partition template. Otherwise time will be omitted
|
||||
from the partition template and partitions won't be able to be compacted.
|
||||
{{% /note %}}
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
|
@ -81,7 +90,7 @@ influxctl database create [flags] <DATABASE_NAME>
|
|||
| | `--max-columns` | Maximum columns per table (default is 250, 0 uses default) |
|
||||
| | `--template-tag` | Tag to add to partition template (can include multiple of this flag) |
|
||||
| | `--template-tag-bucket` | Tag and number of buckets to partition tag values into separated by a comma--for example: `tag1,100` (can include multiple of this flag) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template (default is `%Y-%m-%d`) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template <!--(default is `%Y-%m-%d`) --> |
|
||||
| `-h` | `--help` | Output command help |
|
||||
|
||||
{{% caption %}}
|
||||
|
|
|
@ -24,6 +24,15 @@ into a specified number of "buckets."
|
|||
Each of these can be used as part of the partition template.
|
||||
Be sure to follow [partitioning best practices](/influxdb/cloud-dedicated/admin/custom-partitions/best-practices/).
|
||||
|
||||
{{% note %}}
|
||||
#### Always provide a time format when using custom partitioning
|
||||
|
||||
If defining a custom partition template for your table with any of the
|
||||
`--template-*` flags, always include the `--template-timeformat` flag with a
|
||||
time format to use in your partition template.
|
||||
Otherwise, InfluxDB omits time from the partition template and won't compact partitions.
|
||||
{{% /note %}}
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
|
@ -43,7 +52,7 @@ influxctl table create [flags] <DATABASE_NAME> <TABLE_NAME>
|
|||
| :--- | :---------------------- | :--------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| | `--template-tag` | Tag to add to partition template (can include multiple of this flag) |
|
||||
| | `--template-tag-bucket` | Tag and number of buckets to partition tag values into separated by a comma--for example: `tag1,100` (can include multiple of this flag) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template (default is `%Y-%m-%d`) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template <!--(default is `%Y-%m-%d`)--> |
|
||||
| `-h` | `--help` | Output command help |
|
||||
|
||||
{{% caption %}}
|
||||
|
|
|
@ -100,15 +100,13 @@ storage engine.
|
|||
| <span style="opacity: .5;">INTEGRAL()</span> | |
|
||||
| [MEAN()](/influxdb/cloud-dedicated/reference/influxql/functions/aggregates/#mean) | **{{< icon "check" >}}** |
|
||||
| [MEDIAN()](/influxdb/cloud-dedicated/reference/influxql/functions/aggregates/#median) | **{{< icon "check" >}}** |
|
||||
| <span style="opacity: .5;">MODE()</span> | |
|
||||
| <span style="opacity: .5;">SPREAD()</span> | |
|
||||
| [MODE()](/influxdb/cloud-dedicated/reference/influxql/functions/aggregates/#mode) | **{{< icon "check" >}}** |
|
||||
| [SPREAD()](/influxdb/cloud-dedicated/reference/influxql/functions/aggregates/#spread) | **{{< icon "check" >}}** |
|
||||
| [STDDEV()](/influxdb/cloud-dedicated/reference/influxql/functions/aggregates/#stddev) | **{{< icon "check" >}}** |
|
||||
| [SUM()](/influxdb/cloud-dedicated/reference/influxql/functions/aggregates/#sum) | **{{< icon "check" >}}** |
|
||||
|
||||
<!--
|
||||
INTEGRAL [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/6937)
|
||||
MODE [influxdb_iox#7334](https://github.com/influxdata/influxdb_iox/issues/7334)
|
||||
SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/6937)
|
||||
-->
|
||||
|
||||
### Selector functions
|
||||
|
@ -140,7 +138,7 @@ SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/693
|
|||
| [CUMULATIVE_SUM()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#cumulative_sum) | **{{< icon "check" >}}** |
|
||||
| [DERIVATIVE()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#derivative) | **{{< icon "check" >}}** |
|
||||
| [DIFFERENCE()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#difference) | **{{< icon "check" >}}** |
|
||||
| <span style="opacity: .5;">ELAPSED()<span> | |
|
||||
| [ELAPSED()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#elapsed) | **{{< icon "check" >}}** |
|
||||
| [EXP()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#exp) | **{{< icon "check" >}}** |
|
||||
| [FLOOR()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#floor) | **{{< icon "check" >}}** |
|
||||
| [LN()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#ln) | **{{< icon "check" >}}** |
|
||||
|
@ -156,8 +154,6 @@ SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/693
|
|||
| [SQRT()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#sqrt) | **{{< icon "check" >}}** |
|
||||
| [TAN()](/influxdb/cloud-dedicated/reference/influxql/functions/transformations/#tan) | **{{< icon "check" >}}** |
|
||||
|
||||
<!-- ELAPSED() [influxdb_iox#6934](https://github.com/influxdata/influxdb_iox/issues/6934) -->
|
||||
|
||||
### Technical and predictive analysis
|
||||
|
||||
| Function | Supported |
|
||||
|
|
|
@ -22,13 +22,13 @@ _Examples use the sample data set provided in the
|
|||
- [DISTINCT()](#distinct)
|
||||
- [MEAN()](#mean)
|
||||
- [MEDIAN()](#median)
|
||||
- [MODE()](#mode)
|
||||
- [SPREAD()](#spread)
|
||||
- [STDDEV()](#stddev)
|
||||
- [SUM()](#sum)
|
||||
|
||||
<!-- When implemented, place back in alphabetical order -->
|
||||
<!-- - [INTEGRAL()](#integral) -->
|
||||
<!-- - [MODE()](#mode) -->
|
||||
<!-- - [SPREAD()](#spread) -->
|
||||
|
||||
{{% note %}}
|
||||
#### Missing InfluxQL functions
|
||||
|
@ -536,9 +536,10 @@ name: home
|
|||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## MODE()
|
||||
## MODE()
|
||||
|
||||
Returns the most frequent value in a list of [field values](/influxdb/cloud-dedicated/reference/glossary/#field-value).
|
||||
Returns the most frequent value in a list of
|
||||
[field values](/influxdb/cloud-dedicated/reference/glossary/#field-value).
|
||||
|
||||
```sql
|
||||
MODE(field_expression)
|
||||
|
@ -637,11 +638,12 @@ name: home
|
|||
{{% /influxdb/custom-timestamps %}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## SPREAD()
|
||||
## SPREAD()
|
||||
|
||||
Returns the difference between the minimum and maximum [field values](/influxdb/cloud-dedicated/reference/glossary/#field-value).
|
||||
Returns the difference between the minimum and maximum
|
||||
[field values](/influxdb/cloud-dedicated/reference/glossary/#field-value).
|
||||
|
||||
```sql
|
||||
SPREAD(field_expression)
|
||||
|
@ -734,7 +736,7 @@ name: home
|
|||
{{% /influxdb/custom-timestamps %}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
## STDDEV()
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ InfluxQL transformation functions modify and return values in each row of querie
|
|||
- [CUMULATIVE_SUM()](#cumulative_sum)
|
||||
- [DERIVATIVE()](#derivative)
|
||||
- [DIFFERENCE()](#difference)
|
||||
- [ELAPSED()](#elapsed)
|
||||
- [EXP()](#exp)
|
||||
- [FLOOR()](#floor)
|
||||
- [LN()](#ln)
|
||||
|
@ -37,8 +38,6 @@ InfluxQL transformation functions modify and return values in each row of querie
|
|||
- [SQRT()](#sqrt)
|
||||
- [TAN()](#tan)
|
||||
|
||||
<!-- - [ELAPSED()](#elapsed) -->
|
||||
|
||||
{{% note %}}
|
||||
#### Missing InfluxQL functions
|
||||
|
||||
|
@ -1138,7 +1137,7 @@ name: numbers
|
|||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## ELAPSED()
|
||||
## ELAPSED()
|
||||
|
||||
Returns the difference between subsequent [field value's](/influxdb/cloud-dedicated/reference/glossary/#field-value)
|
||||
timestamps in a specified `unit` of time.
|
||||
|
@ -1254,7 +1253,7 @@ name: numbers
|
|||
| 2023-01-01T00:06:00Z | 60 | 60 |
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
## EXP()
|
||||
|
||||
|
|
|
@ -100,15 +100,13 @@ storage engine.
|
|||
| <span style="opacity: .5;">INTEGRAL()</span> | |
|
||||
| [MEAN()](/influxdb/cloud-serverless/reference/influxql/functions/aggregates/#mean) | **{{< icon "check" >}}** |
|
||||
| [MEDIAN()](/influxdb/cloud-serverless/reference/influxql/functions/aggregates/#median) | **{{< icon "check" >}}** |
|
||||
| <span style="opacity: .5;">MODE()</span> | |
|
||||
| <span style="opacity: .5;">SPREAD()</span> | |
|
||||
| [MODE()](/influxdb/cloud-serverless/reference/influxql/functions/aggregates/#mode) | **{{< icon "check" >}}** |
|
||||
| [SPREAD()](/influxdb/cloud-serverless/reference/influxql/functions/aggregates/#spread) | **{{< icon "check" >}}** |
|
||||
| [STDDEV()](/influxdb/cloud-serverless/reference/influxql/functions/aggregates/#stddev) | **{{< icon "check" >}}** |
|
||||
| [SUM()](/influxdb/cloud-serverless/reference/influxql/functions/aggregates/#sum) | **{{< icon "check" >}}** |
|
||||
|
||||
<!--
|
||||
INTEGRAL [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/6937)
|
||||
MODE [influxdb_iox#7334](https://github.com/influxdata/influxdb_iox/issues/7334)
|
||||
SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/6937)
|
||||
-->
|
||||
|
||||
### Selector functions
|
||||
|
@ -140,7 +138,7 @@ SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/693
|
|||
| [CUMULATIVE_SUM()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#cumulative_sum) | **{{< icon "check" >}}** |
|
||||
| [DERIVATIVE()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#derivative) | **{{< icon "check" >}}** |
|
||||
| [DIFFERENCE()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#difference) | **{{< icon "check" >}}** |
|
||||
| <span style="opacity: .5;">ELAPSED()<span> | |
|
||||
| [ELAPSED()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#elapsed) | **{{< icon "check" >}}** |
|
||||
| [EXP()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#exp) | **{{< icon "check" >}}** |
|
||||
| [FLOOR()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#floor) | **{{< icon "check" >}}** |
|
||||
| [LN()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#ln) | **{{< icon "check" >}}** |
|
||||
|
@ -156,8 +154,6 @@ SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/693
|
|||
| [SQRT()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#sqrt) | **{{< icon "check" >}}** |
|
||||
| [TAN()](/influxdb/cloud-serverless/reference/influxql/functions/transformations/#tan) | **{{< icon "check" >}}** |
|
||||
|
||||
<!-- ELAPSED() [influxdb_iox#6934](https://github.com/influxdata/influxdb_iox/issues/6934) -->
|
||||
|
||||
### Technical and predictive analysis
|
||||
|
||||
| Function | Supported |
|
||||
|
|
|
@ -22,13 +22,13 @@ _Examples use the sample data set provided in the
|
|||
- [DISTINCT()](#distinct)
|
||||
- [MEAN()](#mean)
|
||||
- [MEDIAN()](#median)
|
||||
- [MODE()](#mode)
|
||||
- [SPREAD()](#spread)
|
||||
- [STDDEV()](#stddev)
|
||||
- [SUM()](#sum)
|
||||
|
||||
<!-- When implemented, place back in alphabetical order -->
|
||||
<!-- - [INTEGRAL()](#integral) -->
|
||||
<!-- - [MODE()](#mode) -->
|
||||
<!-- - [SPREAD()](#spread) -->
|
||||
|
||||
{{% note %}}
|
||||
#### Missing InfluxQL functions
|
||||
|
@ -536,9 +536,10 @@ name: home
|
|||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## MODE()
|
||||
## MODE()
|
||||
|
||||
Returns the most frequent value in a list of [field values](/influxdb/cloud-serverless/reference/glossary/#field-value).
|
||||
Returns the most frequent value in a list of
|
||||
[field values](/influxdb/cloud-serverless/reference/glossary/#field-value).
|
||||
|
||||
```sql
|
||||
MODE(field_expression)
|
||||
|
@ -637,11 +638,12 @@ name: home
|
|||
{{% /influxdb/custom-timestamps %}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## SPREAD()
|
||||
## SPREAD()
|
||||
|
||||
Returns the difference between the minimum and maximum [field values](/influxdb/cloud-serverless/reference/glossary/#field-value).
|
||||
Returns the difference between the minimum and maximum
|
||||
[field values](/influxdb/cloud-serverless/reference/glossary/#field-value).
|
||||
|
||||
```sql
|
||||
SPREAD(field_expression)
|
||||
|
@ -734,7 +736,7 @@ name: home
|
|||
{{% /influxdb/custom-timestamps %}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
## STDDEV()
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ InfluxQL transformation functions modify and return values in each row of querie
|
|||
- [CUMULATIVE_SUM()](#cumulative_sum)
|
||||
- [DERIVATIVE()](#derivative)
|
||||
- [DIFFERENCE()](#difference)
|
||||
- [ELAPSED()](#elapsed)
|
||||
- [EXP()](#exp)
|
||||
- [FLOOR()](#floor)
|
||||
- [LN()](#ln)
|
||||
|
@ -37,8 +38,6 @@ InfluxQL transformation functions modify and return values in each row of querie
|
|||
- [SQRT()](#sqrt)
|
||||
- [TAN()](#tan)
|
||||
|
||||
<!-- - [ELAPSED()](#elapsed) -->
|
||||
|
||||
{{% note %}}
|
||||
#### Missing InfluxQL functions
|
||||
|
||||
|
@ -1138,7 +1137,7 @@ name: numbers
|
|||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## ELAPSED()
|
||||
## ELAPSED()
|
||||
|
||||
Returns the difference between subsequent [field value's](/influxdb/cloud-serverless/reference/glossary/#field-value)
|
||||
timestamps in a specified `unit` of time.
|
||||
|
@ -1254,7 +1253,7 @@ name: numbers
|
|||
| 2023-01-01T00:06:00Z | 60 | 60 |
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
## EXP()
|
||||
|
||||
|
|
|
@ -56,6 +56,15 @@ and only 1 time part.
|
|||
|
||||
_View [partition template part restrictions](/influxdb/clustered/admin/custom-partitions/partition-templates/#restrictions)._
|
||||
|
||||
{{% note %}}
|
||||
#### Always provide a time format when using custom partitioning
|
||||
|
||||
When defining a custom partition template for your database or table using any
|
||||
of the `influxctl` `--template-*` flags, always include the `--template-timeformat`
|
||||
flag with a time format to use in your partition template.
|
||||
Otherwise, InfluxDB omits time from the partition template and won't compact partitions.
|
||||
{{% /note %}}
|
||||
|
||||
## Create a database with a custom partition template
|
||||
|
||||
The following example creates a new `example-db` database and applies a partition
|
||||
|
|
|
@ -24,7 +24,7 @@ alt_links:
|
|||
---
|
||||
|
||||
Use the [`influxctl token create` command](/influxdb/clustered/reference/cli/influxctl/token/create/)
|
||||
tto create a token that grants access to databases in your {{% product-name omit="Clustered" %}} cluster.
|
||||
to create a token that grants access to databases in your {{% product-name omit=" Clustered" %}} cluster.
|
||||
|
||||
1. If you haven't already, [download and install the `influxctl` CLI](/influxdb/clustered/reference/cli/influxctl/#download-and-install-influxctl).
|
||||
2. In your terminal, run the `influxctl token create` command and provide the following:
|
||||
|
|
|
@ -59,6 +59,15 @@ into a specified number of "buckets."
|
|||
Each of these can be used as part of the partition template.
|
||||
Be sure to follow [partitioning best practices](/influxdb/clustered/admin/custom-partitions/best-practices/).
|
||||
|
||||
{{% note %}}
|
||||
#### Always provide a time format when using custom partitioning
|
||||
|
||||
If defining a custom partition template for your database with any of the
|
||||
`--template-*` flags, always include the `--template-timeformat` flag with a
|
||||
time format to use in your partition template.
|
||||
Otherwise, InfluxDB omits time from the partition template and won't compact partitions.
|
||||
{{% /note %}}
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
|
@ -80,7 +89,7 @@ influxctl database create [flags] <DATABASE_NAME>
|
|||
| | `--max-columns` | Maximum columns per table (default is 250, 0 uses default) |
|
||||
| | `--template-tag` | Tag to add to partition template (can include multiple of this flag) |
|
||||
| | `--template-tag-bucket` | Tag and number of buckets to partition tag values into separated by a comma--for example: `tag1,100` (can include multiple of this flag) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template (default is `%Y-%m-%d`) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template <!--(default is `%Y-%m-%d`)--> |
|
||||
| `-h` | `--help` | Output command help |
|
||||
|
||||
{{% caption %}}
|
||||
|
|
|
@ -24,6 +24,15 @@ into a specified number of "buckets."
|
|||
Each of these can be used as part of the partition template.
|
||||
Be sure to follow [partitioning best practices](/influxdb/clustered/admin/custom-partitions/best-practices/).
|
||||
|
||||
{{% note %}}
|
||||
#### Always provide a time format when using custom partitioning
|
||||
|
||||
If defining a custom partition template for your table with any of the
|
||||
`--template-*` flags, always include the `--template-timeformat` flag with a
|
||||
time format to use in your partition template.
|
||||
Otherwise, InfluxDB omits time from the partition template and won't compact partitions.
|
||||
{{% /note %}}
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
|
@ -43,7 +52,7 @@ influxctl table create [flags] <DATABASE_NAME> <TABLE_NAME>
|
|||
| :--- | :---------------------- | :--------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| | `--template-tag` | Tag to add to partition template (can include multiple of this flag) |
|
||||
| | `--template-tag-bucket` | Tag and number of buckets to partition tag values into separated by a comma--for example: `tag1,100` (can include multiple of this flag) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template (default is `%Y-%m-%d`) |
|
||||
| | `--template-timeformat` | Timestamp format for partition template <!--(default is `%Y-%m-%d`)--> |
|
||||
| `-h` | `--help` | Output command help |
|
||||
|
||||
{{% caption %}}
|
||||
|
|
|
@ -100,15 +100,13 @@ storage engine.
|
|||
| <span style="opacity: .5;">INTEGRAL()</span> | |
|
||||
| [MEAN()](/influxdb/clustered/reference/influxql/functions/aggregates/#mean) | **{{< icon "check" >}}** |
|
||||
| [MEDIAN()](/influxdb/clustered/reference/influxql/functions/aggregates/#median) | **{{< icon "check" >}}** |
|
||||
| <span style="opacity: .5;">MODE()</span> | |
|
||||
| <span style="opacity: .5;">SPREAD()</span> | |
|
||||
| [MODE()](/influxdb/clustered/reference/influxql/functions/aggregates/#mode) | **{{< icon "check" >}}** |
|
||||
| [SPREAD()](/influxdb/clustered/reference/influxql/functions/aggregates/#spread) | **{{< icon "check" >}}** |
|
||||
| [STDDEV()](/influxdb/clustered/reference/influxql/functions/aggregates/#stddev) | **{{< icon "check" >}}** |
|
||||
| [SUM()](/influxdb/clustered/reference/influxql/functions/aggregates/#sum) | **{{< icon "check" >}}** |
|
||||
|
||||
<!--
|
||||
INTEGRAL [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/6937)
|
||||
MODE [influxdb_iox#7334](https://github.com/influxdata/influxdb_iox/issues/7334)
|
||||
SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/6937)
|
||||
-->
|
||||
|
||||
### Selector functions
|
||||
|
@ -140,7 +138,7 @@ SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/693
|
|||
| [CUMULATIVE_SUM()](/influxdb/clustered/reference/influxql/functions/transformations/#cumulative_sum) | **{{< icon "check" >}}** |
|
||||
| [DERIVATIVE()](/influxdb/clustered/reference/influxql/functions/transformations/#derivative) | **{{< icon "check" >}}** |
|
||||
| [DIFFERENCE()](/influxdb/clustered/reference/influxql/functions/transformations/#difference) | **{{< icon "check" >}}** |
|
||||
| <span style="opacity: .5;">ELAPSED()<span> | |
|
||||
| [ELAPSED()](/influxdb/clustered/reference/influxql/functions/transformations/#elapsed) | **{{< icon "check" >}}** |
|
||||
| [EXP()](/influxdb/clustered/reference/influxql/functions/transformations/#exp) | **{{< icon "check" >}}** |
|
||||
| [FLOOR()](/influxdb/clustered/reference/influxql/functions/transformations/#floor) | **{{< icon "check" >}}** |
|
||||
| [LN()](/influxdb/clustered/reference/influxql/functions/transformations/#ln) | **{{< icon "check" >}}** |
|
||||
|
@ -156,8 +154,6 @@ SPREAD [influxdb_iox#6937](https://github.com/influxdata/influxdb_iox/issues/693
|
|||
| [SQRT()](/influxdb/clustered/reference/influxql/functions/transformations/#sqrt) | **{{< icon "check" >}}** |
|
||||
| [TAN()](/influxdb/clustered/reference/influxql/functions/transformations/#tan) | **{{< icon "check" >}}** |
|
||||
|
||||
<!-- ELAPSED() [influxdb_iox#6934](https://github.com/influxdata/influxdb_iox/issues/6934) -->
|
||||
|
||||
### Technical and predictive analysis
|
||||
|
||||
| Function | Supported |
|
||||
|
|
|
@ -22,13 +22,13 @@ _Examples use the sample data set provided in the
|
|||
- [DISTINCT()](#distinct)
|
||||
- [MEAN()](#mean)
|
||||
- [MEDIAN()](#median)
|
||||
- [MODE()](#mode)
|
||||
- [SPREAD()](#spread)
|
||||
- [STDDEV()](#stddev)
|
||||
- [SUM()](#sum)
|
||||
|
||||
<!-- When implemented, place back in alphabetical order -->
|
||||
<!-- - [INTEGRAL()](#integral) -->
|
||||
<!-- - [MODE()](#mode) -->
|
||||
<!-- - [SPREAD()](#spread) -->
|
||||
|
||||
{{% note %}}
|
||||
#### Missing InfluxQL functions
|
||||
|
@ -536,9 +536,10 @@ name: home
|
|||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## MODE()
|
||||
## MODE()
|
||||
|
||||
Returns the most frequent value in a list of [field values](/influxdb/clustered/reference/glossary/#field-value).
|
||||
Returns the most frequent value in a list of
|
||||
[field values](/influxdb/clustered/reference/glossary/#field-value).
|
||||
|
||||
```sql
|
||||
MODE(field_expression)
|
||||
|
@ -637,11 +638,12 @@ name: home
|
|||
{{% /influxdb/custom-timestamps %}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## SPREAD()
|
||||
## SPREAD()
|
||||
|
||||
Returns the difference between the minimum and maximum [field values](/influxdb/clustered/reference/glossary/#field-value).
|
||||
Returns the difference between the minimum and maximum
|
||||
[field values](/influxdb/clustered/reference/glossary/#field-value).
|
||||
|
||||
```sql
|
||||
SPREAD(field_expression)
|
||||
|
@ -734,7 +736,7 @@ name: home
|
|||
{{% /influxdb/custom-timestamps %}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
## STDDEV()
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ InfluxQL transformation functions modify and return values in each row of querie
|
|||
- [CUMULATIVE_SUM()](#cumulative_sum)
|
||||
- [DERIVATIVE()](#derivative)
|
||||
- [DIFFERENCE()](#difference)
|
||||
- [ELAPSED()](#elapsed)
|
||||
- [EXP()](#exp)
|
||||
- [FLOOR()](#floor)
|
||||
- [LN()](#ln)
|
||||
|
@ -37,8 +38,6 @@ InfluxQL transformation functions modify and return values in each row of querie
|
|||
- [SQRT()](#sqrt)
|
||||
- [TAN()](#tan)
|
||||
|
||||
<!-- - [ELAPSED()](#elapsed) -->
|
||||
|
||||
{{% note %}}
|
||||
#### Missing InfluxQL functions
|
||||
|
||||
|
@ -1138,7 +1137,7 @@ name: numbers
|
|||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
<!-- ## ELAPSED()
|
||||
## ELAPSED()
|
||||
|
||||
Returns the difference between subsequent [field value's](/influxdb/clustered/reference/glossary/#field-value)
|
||||
timestamps in a specified `unit` of time.
|
||||
|
@ -1254,7 +1253,7 @@ name: numbers
|
|||
| 2023-01-01T00:06:00Z | 60 | 60 |
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}} -->
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
## EXP()
|
||||
|
||||
|
|
Loading…
Reference in New Issue