unskip influxctl tests
parent
5624e68bf8
commit
0c2ed394b7
|
@ -67,7 +67,6 @@ and SQL to query partition-related information from InfluxDB system tables.
|
||||||
|
|
||||||
{{% code-placeholders "DATABASE_(TOKEN|NAME)|SQL_QUERY" %}}
|
{{% code-placeholders "DATABASE_(TOKEN|NAME)|SQL_QUERY" %}}
|
||||||
|
|
||||||
<!--pytest.mark.skip-->
|
|
||||||
```bash
|
```bash
|
||||||
influxctl query \
|
influxctl query \
|
||||||
--enable-system-tables \
|
--enable-system-tables \
|
||||||
|
@ -119,11 +118,11 @@ SELECT * FROM system.tables
|
||||||
|
|
||||||
#### Example results
|
#### Example results
|
||||||
|
|
||||||
| table_name | partition_template |
|
| table_name | partition_template |
|
||||||
| :--------- | :--------------------------------------------------------------------------------------- |
|
| :--------- | :----------------------------------------------------------------------------------------- |
|
||||||
| weather | {"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]} |
|
| weather | `{"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]}` |
|
||||||
| home | {"parts":[{"timeFormat":"%Y-%m-%d"},{"tagValue":"room"},{"tagValue":"sensor_id"}]} |
|
| home | `{"parts":[{"timeFormat":"%Y-%m-%d"},{"tagValue":"room"},{"tagValue":"sensor_id"}]}` |
|
||||||
| numbers | {"parts":[{"timeFormat":"%Y"}]} |
|
| numbers | `{"parts":[{"timeFormat":"%Y"}]}` |
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
If a table doesn't include a partition template in the output of this command,
|
If a table doesn't include a partition template in the output of this command,
|
||||||
|
@ -139,9 +138,9 @@ SELECT * FROM system.tables WHERE table_name = 'TABLE_NAME'
|
||||||
|
|
||||||
#### Example results
|
#### Example results
|
||||||
|
|
||||||
| table_name | partition_template |
|
| table_name | partition_template |
|
||||||
| :--------- | :--------------------------------------------------------------------------------------- |
|
| :--------- | :----------------------------------------------------------------------------------------- |
|
||||||
| weather | {"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]} |
|
| weather | `{"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]}` |
|
||||||
|
|
||||||
### View all partitions for a table
|
### View all partitions for a table
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,6 @@ and SQL to query partition-related information from InfluxDB system tables.
|
||||||
|
|
||||||
{{% code-placeholders "DATABASE_(TOKEN|NAME)|SQL_QUERY" %}}
|
{{% code-placeholders "DATABASE_(TOKEN|NAME)|SQL_QUERY" %}}
|
||||||
|
|
||||||
<!--pytest.mark.skip-->
|
|
||||||
```bash
|
```bash
|
||||||
influxctl query \
|
influxctl query \
|
||||||
--enable-system-tables \
|
--enable-system-tables \
|
||||||
|
@ -119,11 +118,11 @@ SELECT * FROM system.tables
|
||||||
|
|
||||||
#### Example results
|
#### Example results
|
||||||
|
|
||||||
| table_name | partition_template |
|
| table_name | partition_template |
|
||||||
| :--------- | :--------------------------------------------------------------------------------------- |
|
| :--------- | :----------------------------------------------------------------------------------------- |
|
||||||
| weather | {"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]} |
|
| weather | `{"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]}` |
|
||||||
| home | {"parts":[{"timeFormat":"%Y-%m-%d"},{"tagValue":"room"},{"tagValue":"sensor_id"}]} |
|
| home | `{"parts":[{"timeFormat":"%Y-%m-%d"},{"tagValue":"room"},{"tagValue":"sensor_id"}]}` |
|
||||||
| numbers | {"parts":[{"timeFormat":"%Y"}]} |
|
| numbers | `{"parts":[{"timeFormat":"%Y"}]}` |
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
If a table doesn't include a partition template in the output of this command,
|
If a table doesn't include a partition template in the output of this command,
|
||||||
|
@ -139,9 +138,9 @@ SELECT * FROM system.tables WHERE table_name = 'TABLE_NAME'
|
||||||
|
|
||||||
#### Example results
|
#### Example results
|
||||||
|
|
||||||
| table_name | partition_template |
|
| table_name | partition_template |
|
||||||
| :--------- | :--------------------------------------------------------------------------------------- |
|
| :--------- | :----------------------------------------------------------------------------------------- |
|
||||||
| weather | {"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]} |
|
| weather | `{"parts":[{"timeFormat":"%Y-%m-%d"},{"bucket":{"tagName":"location","numBuckets":250}}]}` |
|
||||||
|
|
||||||
### View all partitions for a table
|
### View all partitions for a table
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue