File tree Expand file tree Collapse file tree 10 files changed +190
-43
lines changed
reference/cli/influxctl/table
reference/cli/influxctl/table Expand file tree Collapse file tree 10 files changed +190
-43
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ call_lefthook()
33
33
then
34
34
" $dir /node_modules/lefthook/bin/index.js" " $@ "
35
35
36
- elif go tool lefthook -h > /dev/null 2>&1
37
- then
38
- go tool lefthook " $@ "
39
36
elif bundle exec lefthook -h > /dev/null 2>&1
40
37
then
41
38
bundle exec lefthook " $@ "
@@ -45,21 +42,12 @@ call_lefthook()
45
42
elif pnpm lefthook -h > /dev/null 2>&1
46
43
then
47
44
pnpm lefthook " $@ "
48
- elif swift package lefthook > /dev/null 2>&1
45
+ elif swift package plugin lefthook > /dev/null 2>&1
49
46
then
50
- swift package --build-path .build/lefthook -- disable-sandbox lefthook " $@ "
47
+ swift package --disable-sandbox plugin lefthook " $@ "
51
48
elif command -v mint > /dev/null 2>&1
52
49
then
53
50
mint run csjones/lefthook-plugin " $@ "
54
- elif uv run lefthook -h > /dev/null 2>&1
55
- then
56
- uv run lefthook " $@ "
57
- elif mise exec -- lefthook -h > /dev/null 2>&1
58
- then
59
- mise exec -- lefthook " $@ "
60
- elif devbox run lefthook -h > /dev/null 2>&1
61
- then
62
- devbox run lefthook " $@ "
63
51
else
64
52
echo " Can't find lefthook in PATH"
65
53
fi
Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ call_lefthook()
33
33
then
34
34
" $dir /node_modules/lefthook/bin/index.js" " $@ "
35
35
36
- elif go tool lefthook -h > /dev/null 2>&1
37
- then
38
- go tool lefthook " $@ "
39
36
elif bundle exec lefthook -h > /dev/null 2>&1
40
37
then
41
38
bundle exec lefthook " $@ "
@@ -45,21 +42,12 @@ call_lefthook()
45
42
elif pnpm lefthook -h > /dev/null 2>&1
46
43
then
47
44
pnpm lefthook " $@ "
48
- elif swift package lefthook > /dev/null 2>&1
45
+ elif swift package plugin lefthook > /dev/null 2>&1
49
46
then
50
- swift package --build-path .build/lefthook -- disable-sandbox lefthook " $@ "
47
+ swift package --disable-sandbox plugin lefthook " $@ "
51
48
elif command -v mint > /dev/null 2>&1
52
49
then
53
50
mint run csjones/lefthook-plugin " $@ "
54
- elif uv run lefthook -h > /dev/null 2>&1
55
- then
56
- uv run lefthook " $@ "
57
- elif mise exec -- lefthook -h > /dev/null 2>&1
58
- then
59
- mise exec -- lefthook " $@ "
60
- elif devbox run lefthook -h > /dev/null 2>&1
61
- then
62
- devbox run lefthook " $@ "
63
51
else
64
52
echo " Can't find lefthook in PATH"
65
53
fi
Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ call_lefthook()
33
33
then
34
34
" $dir /node_modules/lefthook/bin/index.js" " $@ "
35
35
36
- elif go tool lefthook -h > /dev/null 2>&1
37
- then
38
- go tool lefthook " $@ "
39
36
elif bundle exec lefthook -h > /dev/null 2>&1
40
37
then
41
38
bundle exec lefthook " $@ "
@@ -45,21 +42,12 @@ call_lefthook()
45
42
elif pnpm lefthook -h > /dev/null 2>&1
46
43
then
47
44
pnpm lefthook " $@ "
48
- elif swift package lefthook > /dev/null 2>&1
45
+ elif swift package plugin lefthook > /dev/null 2>&1
49
46
then
50
- swift package --build-path .build/lefthook -- disable-sandbox lefthook " $@ "
47
+ swift package --disable-sandbox plugin lefthook " $@ "
51
48
elif command -v mint > /dev/null 2>&1
52
49
then
53
50
mint run csjones/lefthook-plugin " $@ "
54
- elif uv run lefthook -h > /dev/null 2>&1
55
- then
56
- uv run lefthook " $@ "
57
- elif mise exec -- lefthook -h > /dev/null 2>&1
58
- then
59
- mise exec -- lefthook " $@ "
60
- elif devbox run lefthook -h > /dev/null 2>&1
61
- then
62
- devbox run lefthook " $@ "
63
51
else
64
52
echo " Can't find lefthook in PATH"
65
53
fi
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Rename a table
3
+ description : >
4
+ Use the [`influxctl table rename` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/table/rename/)
5
+ to rename a table in your {{< product-name omit=" Cluster" >}} cluster.
6
+ menu :
7
+ influxdb3_cloud_dedicated :
8
+ parent : Manage tables
9
+ weight : 202
10
+ list_code_example : |
11
+ ##### CLI
12
+ ```sh
13
+ influxctl table rename <DATABASE_NAME> <CURRENT_TABLE_NAME> <NEW_TABLE_NAME>
14
+ ```
15
+ related :
16
+ - /influxdb3/cloud-dedicated/reference/cli/influxctl/table/rename/
17
+ ---
18
+
19
+ Use the [ ` influxctl table rename ` command] ( /influxdb3/cloud-dedicated/reference/cli/influxctl/table/rename/ )
20
+ to rename a table in your {{< product-name omit=" Clustered" >}} cluster.
21
+
22
+ > [ !Note]
23
+ > After renaming a table, write and query requests using the old table name
24
+ > are routed to the same table.
25
+
26
+ ## Rename a database using the influxctl CLI
27
+
28
+ <!-- pytest.mark.skip -->
29
+
30
+ ``` bash { placeholders="DATABASE_NAME|CURRENT_TABLE_NAME|NEW_TABLE_NAME" }
31
+ influxctl table rename DATABASE_NAME CURRENT_TABLE_NAME NEW_TABLE_NAME
32
+ ```
33
+
34
+ Replace the following:
35
+
36
+ - {{% code-placeholder-key %}}` DATABASE_NAME ` {{% /code-placeholder-key %}}: Name of the database the table is in
37
+ - {{% code-placeholder-key %}}` CURRENT_TABLE_NAME ` {{% /code-placeholder-key %}}: Name of the table to change
38
+ - {{% code-placeholder-key %}}` NEW_TABLE_NAME ` {{% /code-placeholder-key %}}: New name for the table
39
+
40
+ > [ !Note]
41
+ > #### Renamed table retains its ID
42
+ >
43
+ > The table ID remains the same after renaming. When you list tables,
44
+ > you'll see the new name associated with the original table ID.
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : influxctl table rename
3
+ description : >
4
+ The `influxctl table rename` command renames a table in an
5
+ {{% product-name omit=" Clustered" %}} cluster.
6
+ menu :
7
+ influxdb3_cloud_dedicated :
8
+ parent : influxctl table
9
+ weight : 301
10
+ metadata : [influxctl 2.10.3+]
11
+ source : /shared/influxctl/table/rename.md
12
+ ---
13
+
14
+ <!-- //SOURCE content/shared/influxctl/table/rename.md -->
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Rename a table
3
+ description : >
4
+ Use the [`influxctl table rename` command](/influxdb3/clustered/reference/cli/influxctl/table/rename/)
5
+ to rename a table in your {{< product-name omit=" Cluster" >}} cluster.
6
+ menu :
7
+ influxdb3_clustered :
8
+ parent : Manage tables
9
+ weight : 202
10
+ list_code_example : |
11
+ ##### CLI
12
+ ```sh
13
+ influxctl table rename <DATABASE_NAME> <CURRENT_TABLE_NAME> <NEW_TABLE_NAME>
14
+ ```
15
+ related :
16
+ - /influxdb3/clustered/reference/cli/influxctl/table/rename/
17
+ ---
18
+
19
+ Use the [ ` influxctl table rename ` command] ( /influxdb3/clustered/reference/cli/influxctl/table/rename/ )
20
+ to rename a table in your {{< product-name omit=" Clustered" >}} cluster.
21
+
22
+ > [ !Note]
23
+ > After renaming a table, write and query requests using the old table name
24
+ > are routed to the same table.
25
+
26
+ ## Rename a database using the influxctl CLI
27
+
28
+ <!-- pytest.mark.skip -->
29
+
30
+ ``` bash { placeholders="DATABASE_NAME|CURRENT_TABLE_NAME|NEW_TABLE_NAME" }
31
+ influxctl table rename DATABASE_NAME CURRENT_TABLE_NAME NEW_TABLE_NAME
32
+ ```
33
+
34
+ Replace the following:
35
+
36
+ - {{% code-placeholder-key %}}` DATABASE_NAME ` {{% /code-placeholder-key %}}: Name of the database the table is in
37
+ - {{% code-placeholder-key %}}` CURRENT_TABLE_NAME ` {{% /code-placeholder-key %}}: Name of the table to change
38
+ - {{% code-placeholder-key %}}` NEW_TABLE_NAME ` {{% /code-placeholder-key %}}: New name for the table
39
+
40
+ > [ !Note]
41
+ > #### Renamed table retains its ID
42
+ >
43
+ > The table ID remains the same after renaming. When you list tables,
44
+ > you'll see the new name associated with the original table ID.
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : influxctl table rename
3
+ description : >
4
+ The `influxctl table rename` command renames a table in an
5
+ {{% product-name omit=" Clustered" %}} cluster.
6
+ menu :
7
+ influxdb3_clustered :
8
+ parent : influxctl table
9
+ weight : 301
10
+ metadata : [influxctl 2.10.3+]
11
+ source : /shared/influxctl/table/rename.md
12
+ ---
13
+
14
+ <!-- //SOURCE content/shared/influxctl/table/rename.md -->
Original file line number Diff line number Diff line change
1
+ ## 2.10.3 {date="2025-07-30"}
2
+
3
+ ### Features
4
+
5
+ - Add ` id ` column to the output of the
6
+ [ ` influxctl database list ` command] ( /influxdb3/version/reference/cli/influxctl/database/list/ ) .
7
+ - Add [ ` influxctl table rename ` command] ( /influxdb3/version/reference/cli/influxctl/table/rename/ ) .
8
+ - Add user-agent to Granite gRPC requests.
9
+
10
+ ### Bug Fixes
11
+
12
+ - Require the ` --template-timeformat ` option when the ` --template-tags ` option
13
+ is included when creating a database or table with custom partitions.
14
+ - Fix table iceberg enable/disable description.
15
+
16
+ ### Dependency updates
17
+
18
+ - Update ` github.com/apache/arrow-go/v18 ` from 18.3.1 to 18.4.0.
19
+ - Update ` github.com/docker/docker ` from 28.2.2+incompatible to 28.3.3+incompatible.
20
+ - Update ` github.com/golang-jwt/jwt/v5 ` from 5.2.2 to 5.2.3.
21
+ - Update ` github.com/jedib0t/go-pretty/v6 ` from 6.6.7 to 6.6.8.
22
+ - Update ` golang.org/x/mod ` from 0.25.0 to 0.26.0.
23
+ - Update ` google.golang.org/grpc ` from 1.73.0 to 1.74.2.
24
+ - Update ` helm.sh/helm/v3 ` from 3.17.3 to 3.18.4.
25
+ - Update Go 1.24.5.
26
+
27
+ ---
28
+
1
29
## v2.10.2 {date="2025-06-30"}
2
30
3
31
### Features
Original file line number Diff line number Diff line change
1
+
2
+ The ` influxctl table rename ` command renames a table in the specified database in
3
+ an {{< product-name omit=" Clustered" >}} cluster.
4
+
5
+ ## Usage
6
+
7
+ <!-- pytest.mark.skip -->
8
+
9
+ ``` bash
10
+ influxctl table rename [flags] < DATABASE_NAME> < CURRENT_TABLE_NAME> < NEW_TABLE_NAME>
11
+ ```
12
+
13
+ ## Arguments
14
+
15
+ | Argument | Description |
16
+ | :--------------------- | :----------------------------------- |
17
+ | ** DATABASE_NAME** | Name of the database the table is in |
18
+ | ** CURRENT_TABLE_NAME** | Current name of the table |
19
+ | ** NEW_TABLE_NAME** | New name for the table |
20
+
21
+ ## Flags
22
+
23
+ | Flag | | Description |
24
+ | :--- | :--------- | :-------------------------------------------- |
25
+ | | ` --format ` | Output format (` table ` _ (default)_ or ` json ` ) |
26
+ | ` -h ` | ` --help ` | Output command help |
27
+
28
+ {{% caption %}}
29
+ _ Also see [ ` influxctl ` global flags] ( /influxdb3/version/reference/cli/influxctl/#global-flags ) ._
30
+ {{% /caption %}}
31
+
32
+ ## Examples
33
+
34
+ <!-- pytest.mark.skip -->
35
+
36
+ ``` bash
37
+ # Rename the "example-tb" table to "example_tb"
38
+ influxctl table rename mydb example-tb example_tb
39
+ ```
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ influxdb3_cloud_dedicated:
64
64
list_order : 3
65
65
latest : cloud-dedicated
66
66
link : " https://www.influxdata.com/contact-sales-cloud-dedicated/"
67
- latest_cli : 2.10.2
67
+ latest_cli : 2.10.3
68
68
placeholder_host : cluster-id.a.influxdb.io
69
69
ai_sample_questions :
70
70
- How do I migrate from InfluxDB v1 to InfluxDB Cloud Dedicated?
You can’t perform that action at this time.
0 commit comments