Skip to content

Commit 5bb4f14

Browse files
Release influxctl v2.10.3 (#6270)
* Release influxctl v2.10.3 * add influxctl 2.10.3 release notes and feature docs --------- Co-authored-by: Scott Anderson <[email protected]> Co-authored-by: Scott Anderson <[email protected]>
1 parent 4cb87dd commit 5bb4f14

File tree

10 files changed

+190
-43
lines changed

10 files changed

+190
-43
lines changed

.husky/_/pre-commit

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ call_lefthook()
3333
then
3434
"$dir/node_modules/lefthook/bin/index.js" "$@"
3535

36-
elif go tool lefthook -h >/dev/null 2>&1
37-
then
38-
go tool lefthook "$@"
3936
elif bundle exec lefthook -h >/dev/null 2>&1
4037
then
4138
bundle exec lefthook "$@"
@@ -45,21 +42,12 @@ call_lefthook()
4542
elif pnpm lefthook -h >/dev/null 2>&1
4643
then
4744
pnpm lefthook "$@"
48-
elif swift package lefthook >/dev/null 2>&1
45+
elif swift package plugin lefthook >/dev/null 2>&1
4946
then
50-
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
47+
swift package --disable-sandbox plugin lefthook "$@"
5148
elif command -v mint >/dev/null 2>&1
5249
then
5350
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 "$@"
6351
else
6452
echo "Can't find lefthook in PATH"
6553
fi

.husky/_/pre-push

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ call_lefthook()
3333
then
3434
"$dir/node_modules/lefthook/bin/index.js" "$@"
3535

36-
elif go tool lefthook -h >/dev/null 2>&1
37-
then
38-
go tool lefthook "$@"
3936
elif bundle exec lefthook -h >/dev/null 2>&1
4037
then
4138
bundle exec lefthook "$@"
@@ -45,21 +42,12 @@ call_lefthook()
4542
elif pnpm lefthook -h >/dev/null 2>&1
4643
then
4744
pnpm lefthook "$@"
48-
elif swift package lefthook >/dev/null 2>&1
45+
elif swift package plugin lefthook >/dev/null 2>&1
4946
then
50-
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
47+
swift package --disable-sandbox plugin lefthook "$@"
5148
elif command -v mint >/dev/null 2>&1
5249
then
5350
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 "$@"
6351
else
6452
echo "Can't find lefthook in PATH"
6553
fi

.husky/_/prepare-commit-msg

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ call_lefthook()
3333
then
3434
"$dir/node_modules/lefthook/bin/index.js" "$@"
3535

36-
elif go tool lefthook -h >/dev/null 2>&1
37-
then
38-
go tool lefthook "$@"
3936
elif bundle exec lefthook -h >/dev/null 2>&1
4037
then
4138
bundle exec lefthook "$@"
@@ -45,21 +42,12 @@ call_lefthook()
4542
elif pnpm lefthook -h >/dev/null 2>&1
4643
then
4744
pnpm lefthook "$@"
48-
elif swift package lefthook >/dev/null 2>&1
45+
elif swift package plugin lefthook >/dev/null 2>&1
4946
then
50-
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
47+
swift package --disable-sandbox plugin lefthook "$@"
5148
elif command -v mint >/dev/null 2>&1
5249
then
5350
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 "$@"
6351
else
6452
echo "Can't find lefthook in PATH"
6553
fi
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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 -->
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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 -->

content/shared/influxctl/release-notes.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
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+
129
## v2.10.2 {date="2025-06-30"}
230

331
### Features
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
```

data/products.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ influxdb3_cloud_dedicated:
6464
list_order: 3
6565
latest: cloud-dedicated
6666
link: "https://www.influxdata.com/contact-sales-cloud-dedicated/"
67-
latest_cli: 2.10.2
67+
latest_cli: 2.10.3
6868
placeholder_host: cluster-id.a.influxdb.io
6969
ai_sample_questions:
7070
- How do I migrate from InfluxDB v1 to InfluxDB Cloud Dedicated?

0 commit comments

Comments
 (0)