You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also please check other settings and places in code about uri vs. url. If we're already using url everywhere, maybe it's better to name the setting max_url_length even if it's more old fashioned.
Also please check other settings and places in code about uri vs. url. If we're already using url everywhere, maybe it's better to name the setting max_url_length even if it's more old fashioned.
I found a sole setting with an 'url' in its name: M(URI, format_avro_schema_registry_url), also in code it's not that widely used either. I suggest to leave the name as it is.
e = HTTPError('409 Client Error: Conflict for url: http+docker://localhost/v1.41/containers/5b28247074bad9b7697d6dc1e780be3645ad2b7a34f437196bc3e10293cc09fa/exec',)
def create_api_error_from_http_exception(e):
"""
Create a suitable APIError from requests.exceptions.HTTPError.
"""
response = e.response
try:
explanation = response.json()['message']
except ValueError:
explanation = (response.content or '').strip()
cls = APIError
if response.status_code == 404:
if explanation and ('No such image' in str(explanation) or
'not found: does not exist or no pull access'
in str(explanation) or
'repository does not exist' in str(explanation)):
cls = ImageNotFound
else:
cls = NotFound
> raise cls(e, response=response, explanation=explanation)
E docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.41/containers/5b28247074bad9b7697d6dc1e780be3645ad2b7a34f437196bc3e10293cc09fa/exec: Conflict ("Container 5b28247074bad9b7697d6dc1e780be3645ad2b7a34f437196bc3e10293cc09fa is not running")
Caught exception while loading metadata: Code: 36, e.displayText() = DB::Exception: Dictionary (test_01676.dict) not found: While processing CAST(dictGet('test_01676.dict', 'value', x) AS y_tmp_alter17144938244732776432, 'UInt64') AS y: default expression and column type are incompatible.: Cannot attach table test_01676.table from metadata file /var/lib/clickhouse/store/060/0604aada-1fbb-4a1c-8325-99d4a6e56caf/table.sql from query ATTACH TABLE test_01676.table UUID '56e67de3-8f59-403c-baed-e7a44aef814a' (xUInt64,yUInt64 DEFAULT dictGet('test_01676.dict', 'value', x)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192: while loading databasetest_01676 from path /var/lib/clickhouse/metadata/test_01676
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pr-otherPull request with changes not fitting to other categories
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix some points from this comment #19516 (comment)