-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing destination name \"d.path\" in *clickhouse.Disk" #1007
Comments
sorry for late reply, could you share result of
|
Hi, thank you for your reply! root@db-clickhouse-ipsdev2:~# clickhouse-client --password=*** -q "SELECT d.path, any(d.name) AS name, any(d.ty |
Oh, looks weird I tried reproduce query for the same clickhouse-server version
I don't see could you share? SELECT * FROM system.settings WHERE changed |
Also I have another clickhouse server: ~# clickhouse-client --user=*** --password=*** -q "SELECT d.path, any(d ~# clickhouse-server --version changed setting in the second server the same except there is no 'max_query_size' (it is default) |
could you share |
sure
|
wrong behavior fixed in clickhouse-server 24.3 |
ok. found root reason fixed in 24.3 |
ClickHouse server version 23.10.3.5 (official build).
root@db-clickhouse-ipsdev2:~# clickhouse-backup --version
Version: 2.6.0
Git Commit: b7faa4a
Build Date: 2024-08-29
root@db-clickhouse-ipsdev2:~# clickhouse-backup create test --env CLICKHOUSE_PASSWORD=***
failed with:
2024-09-10 09:57:18.479 INF pkg/clickhouse/clickhouse.go:1071 > SELECT countIf(name='type') AS is_disk_type_present, countIf(name='object_storage_type') AS is_object_storage_type_present, countIf(name='free_space') AS is_free_space_present, countIf(name='disks') AS is_storage_policy_present FROM system.columns WHERE database='system' AND table IN ('disks','storage_policies')
2024-09-10 09:57:18.499 INF pkg/clickhouse/clickhouse.go:1071 > SELECT d.path, any(d.name) AS name, any(d.type) AS type, min(d.free_space) AS free_space, groupUniqArray(s.policy_name) AS storage_policies FROM system.disks AS d LEFT JOIN (SELECT policy_name, arrayJoin(disks) AS disk FROM system.storage_policies) AS s ON s.disk = d.name GROUP BY d.path
2024-09-10 09:57:18.502 INF pkg/clickhouse/clickhouse.go:319 > clickhouse connection closed
2024-09-10 09:57:18.502 FTL cmd/clickhouse-backup/main.go:658 > error="clickhouse [ScanStruct]: missing destination name "d.path" in *clickhouse.Disk"
Can you please help me?
The text was updated successfully, but these errors were encountered: