Skip to content

Error message when appending to file that don't support appending - #58604

Closed
mneedham wants to merge 4 commits into
ClickHouse:masterfrom
mneedham:master
Closed

mneedham wants to merge 4 commits into
ClickHouse:masterfrom
mneedham:master

Conversation

@mneedham

@mneedham mneedham commented Jan 8, 2024 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Trying to make the error message more descriptive. When I first saw the existing message I didn't realise what it meant - turns out I mistakenly already had the file that I was trying to write to. This is an attempt to make the message explain that.

@robot-clickhouse

Copy link
Copy Markdown
Member

This is an automated comment for commit 4ca49ce with description of existing statuses. It's updated for the latest CI running

❌ Click here to open a full report in a separate page

Check nameDescriptionStatus
PR CheckThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS❌ failure

@evillique evillique self-assigned this Jan 8, 2024
@clickhouse-gh

clickhouse-gh Bot commented Jun 25, 2024

Copy link
Copy Markdown
Contributor

Dear @evillique, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Nov 14, 2024
new_path = path.substr(0, pos) + "." + std::to_string(index) + (pos == std::string::npos ? "" : path.substr(pos));
++index;
}
while (fs::exists(new_path));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@alexey-milovidov alexey-milovidov self-assigned this Nov 27, 2024
alexey-milovidov added a commit that referenced this pull request Dec 25, 2024
@alexey-milovidov alexey-milovidov mentioned this pull request Dec 25, 2024
22 tasks
@alexey-milovidov

Copy link
Copy Markdown
Member

Continued in #73832.

alexey-milovidov added a commit that referenced this pull request Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants