ClickHouse / ClickHouse/ClickHouse

system.tables -> metadata_path field changed behavior after 25.1

Open
#76,546 1 comment 0 reactions 0 assignees View on GitHub
comp-system-table external potential bug
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

### Company or project name

_No response_

### Describe what's wrong

instead of returning absolute path, now it returns relative path

### Does it reproduce on the most recent release?

Yes

### How to reproduce

compare
24.12 - return absolute path
https://fiddle.clickhouse.com/fb4d6596-84ca-45d7-9d79-e389efe5cc22

25.1 - return relative path
https://fiddle.clickhouse.com/ee838ebc-faf1-4e70-a7c0-69eecd1385ed

### Expected behavior

return absolute path in both versins

### Error message and/or stacktrace

_No response_

### Additional context

maybe someone can suggest how to calculate `` value from `system.*` tables via SQL?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.