|
1 | 1 | # Source: |
2 | | -# https://github.com/yandex/ClickHouse/blob/master/dbms/src/Common/ErrorCodes.cpp |
| 2 | +# https://github.com/ClickHouse/ClickHouse/blob/master/src/Common/ErrorCodes.cpp |
3 | 3 |
|
4 | 4 | UNSUPPORTED_METHOD = 1 |
5 | 5 | UNSUPPORTED_PARAMETER = 2 |
|
129 | 129 | FUNCTION_IS_SPECIAL = 129 |
130 | 130 | CANNOT_READ_ARRAY_FROM_TEXT = 130 |
131 | 131 | TOO_LARGE_STRING_SIZE = 131 |
132 | | -CANNOT_CREATE_TABLE_FROM_METADATA = 132 |
| 132 | +CANNOT_CREATE_TABLE_FROM_METADATA = 132 # removed |
133 | 133 | AGGREGATE_FUNCTION_DOESNT_ALLOW_PARAMETERS = 133 |
134 | 134 | PARAMETERS_TO_AGGREGATE_FUNCTIONS_MUST_BE_LITERALS = 134 |
135 | 135 | ZERO_ARRAY_OR_TUPLE_INDEX = 135 |
|
146 | 146 | NOT_FOUND_FUNCTION_ELEMENT_FOR_AGGREGATE = 147 |
147 | 147 | NOT_FOUND_RELATION_ELEMENT_FOR_CONDITION = 148 |
148 | 148 | NOT_FOUND_RHS_ELEMENT_FOR_CONDITION = 149 |
149 | | -NO_ATTRIBUTES_LISTED = 150 |
| 149 | +EMPTY_LIST_OF_ATTRIBUTES_PASSED = 150 |
150 | 150 | INDEX_OF_COLUMN_IN_SORT_CLAUSE_IS_OUT_OF_RANGE = 151 |
151 | 151 | UNKNOWN_DIRECTION_OF_SORTING = 152 |
152 | 152 | ILLEGAL_DIVISION = 153 |
|
269 | 269 | AIO_READ_ERROR = 274 |
270 | 270 | AIO_WRITE_ERROR = 275 |
271 | 271 | INDEX_NOT_USED = 277 |
272 | | -LEADERSHIP_LOST = 278 |
| 272 | +LEADERSHIP_LOST = 278 # removed |
273 | 273 | ALL_CONNECTION_TRIES_FAILED = 279 |
274 | 274 | NO_AVAILABLE_DATA = 280 |
275 | 275 | DICTIONARY_IS_EMPTY = 281 |
|
283 | 283 | REPLICA_IS_NOT_IN_QUORUM = 289 |
284 | 284 | LIMIT_EXCEEDED = 290 |
285 | 285 | DATABASE_ACCESS_DENIED = 291 |
286 | | -LEADERSHIP_CHANGED = 292 |
| 286 | +LEADERSHIP_CHANGED = 292 # removed |
287 | 287 | MONGODB_CANNOT_AUTHENTICATE = 293 |
288 | 288 | INVALID_BLOCK_EXTRA_INFO = 294 |
289 | 289 | RECEIVED_EMPTY_DATA = 295 |
|
330 | 330 | CURRENT_WRITE_BUFFER_IS_EXHAUSTED = 362 |
331 | 331 | CANNOT_CREATE_IO_BUFFER = 363 |
332 | 332 | RECEIVED_ERROR_TOO_MANY_REQUESTS = 364 |
333 | | -OUTPUT_IS_NOT_SORTED = 365 |
| 333 | +OUTPUT_IS_NOT_SORTED = 365 # removed |
334 | 334 | SIZES_OF_NESTED_COLUMNS_ARE_INCONSISTENT = 366 |
335 | 335 | TOO_MANY_FETCHES = 367 |
336 | | -BAD_CAST = 368 |
| 336 | +BAD_CAST = 368 # removed |
337 | 337 | ALL_REPLICAS_ARE_STALE = 369 |
338 | 338 | DATA_TYPE_CANNOT_BE_USED_IN_TABLES = 370 |
339 | 339 | INCONSISTENT_CLUSTER_DEFINITION = 371 |
|
352 | 352 | PART_IS_TEMPORARILY_LOCKED = 384 |
353 | 353 | MULTIPLE_STREAMS_REQUIRED = 385 |
354 | 354 | NO_COMMON_TYPE = 386 |
355 | | -EXTERNAL_LOADABLE_ALREADY_EXISTS = 387 |
| 355 | +DICTIONARY_ALREADY_EXISTS = 387 |
356 | 356 | CANNOT_ASSIGN_OPTIMIZE = 388 |
357 | 357 | INSERT_WAS_DEDUPLICATED = 389 |
358 | 358 | CANNOT_GET_CREATE_TABLE_QUERY = 390 |
|
379 | 379 | PTHREAD_ERROR = 411 |
380 | 380 | NETLINK_ERROR = 412 |
381 | 381 | CANNOT_SET_SIGNAL_HANDLER = 413 |
382 | | -CANNOT_READLINE = 414 |
| 382 | +CANNOT_READLINE = 414 # removed |
383 | 383 | ALL_REPLICAS_LOST = 415 |
384 | 384 | REPLICA_STATUS_CHANGED = 416 |
385 | 385 | EXPECTED_ALL_OR_ANY = 417 |
386 | | -UNKNOWN_JOIN_STRICTNESS = 418 |
| 386 | +UNKNOWN_JOIN = 418 |
387 | 387 | MULTIPLE_ASSIGNMENTS_TO_COLUMN = 419 |
388 | 388 | CANNOT_UPDATE_COLUMN = 420 |
389 | 389 | CANNOT_ADD_DIFFERENT_AGGREGATE_STATES = 421 |
390 | 390 | UNSUPPORTED_URI_SCHEME = 422 |
391 | 391 | CANNOT_GETTIMEOFDAY = 423 |
392 | 392 | CANNOT_LINK = 424 |
393 | 393 | SYSTEM_ERROR = 425 |
394 | | -NULL_POINTER_DEREFERENCE = 426 |
| 394 | +NULL_POINTER_DEREFERENCE = 426 # removed |
395 | 395 | CANNOT_COMPILE_REGEXP = 427 |
396 | 396 | UNKNOWN_LOG_LEVEL = 428 |
397 | 397 | FAILED_TO_GETPWUID = 429 |
|
436 | 436 | CANNOT_PTHREAD_ATTR = 468 |
437 | 437 | VIOLATED_CONSTRAINT = 469 |
438 | 438 | QUERY_IS_NOT_SUPPORTED_IN_LIVE_VIEW = 470 |
439 | | -SETTINGS_ARE_NOT_SUPPORTED = 471 |
| 439 | +INVALID_SETTING_VALUE = 471 |
440 | 440 | READONLY_SETTING = 472 |
441 | 441 | DEADLOCK_AVOIDED = 473 |
442 | 442 | INVALID_TEMPLATE_FORMAT = 474 |
|
448 | 448 | UNKNOWN_PROTOCOL = 480 |
449 | 449 | PATH_ACCESS_DENIED = 481 |
450 | 450 | DICTIONARY_ACCESS_DENIED = 482 |
| 451 | +TOO_MANY_REDIRECTS = 483 |
| 452 | +INTERNAL_REDIS_ERROR = 484 |
| 453 | +SCALAR_ALREADY_EXISTS = 485 |
| 454 | +CANNOT_GET_CREATE_DICTIONARY_QUERY = 487 |
| 455 | +UNKNOWN_DICTIONARY = 488 |
| 456 | +INCORRECT_DICTIONARY_DEFINITION = 489 |
| 457 | +CANNOT_FORMAT_DATETIME = 490 |
| 458 | +UNACCEPTABLE_URL = 491 |
| 459 | +ACCESS_ENTITY_NOT_FOUND = 492 |
| 460 | +ACCESS_ENTITY_ALREADY_EXISTS = 493 |
| 461 | +ACCESS_ENTITY_FOUND_DUPLICATES = 494 |
| 462 | +ACCESS_STORAGE_READONLY = 495 |
| 463 | +QUOTA_REQUIRES_CLIENT_KEY = 496 |
| 464 | +ACCESS_DENIED = 497 |
| 465 | +LIMIT_BY_WITH_TIES_IS_NOT_SUPPORTED = 498 |
| 466 | +S3_ERROR = 499 |
| 467 | +CANNOT_CREATE_DATABASE = 501 |
| 468 | +CANNOT_SIGQUEUE = 502 |
| 469 | +AGGREGATE_FUNCTION_THROW = 503 |
| 470 | +FILE_ALREADY_EXISTS = 504 |
| 471 | +CANNOT_DELETE_DIRECTORY = 505 |
| 472 | +UNEXPECTED_ERROR_CODE = 506 |
| 473 | +UNABLE_TO_SKIP_UNUSED_SHARDS = 507 |
| 474 | +UNKNOWN_ACCESS_TYPE = 508 |
| 475 | +INVALID_GRANT = 509 |
| 476 | +CACHE_DICTIONARY_UPDATE_FAIL = 510 |
| 477 | +UNKNOWN_ROLE = 511 |
| 478 | +SET_NON_GRANTED_ROLE = 512 |
| 479 | +UNKNOWN_PART_TYPE = 513 |
| 480 | +ACCESS_STORAGE_FOR_INSERTION_NOT_FOUND = 514 |
| 481 | +INCORRECT_ACCESS_ENTITY_DEFINITION = 515 |
| 482 | +AUTHENTICATION_FAILED = 516 |
| 483 | +CANNOT_ASSIGN_ALTER = 517 |
| 484 | +CANNOT_COMMIT_OFFSET = 518 |
| 485 | +NO_REMOTE_SHARD_AVAILABLE = 519 |
| 486 | +CANNOT_DETACH_DICTIONARY_AS_TABLE = 520 |
| 487 | +ATOMIC_RENAME_FAIL = 521 |
| 488 | +OPENCL_ERROR = 522 |
| 489 | +UNKNOWN_ROW_POLICY = 523 |
| 490 | +ALTER_OF_COLUMN_IS_FORBIDDEN = 524 |
| 491 | +INCORRECT_DISK_INDEX = 525 |
| 492 | +UNKNOWN_VOLUME_TYPE = 526 |
| 493 | +NO_SUITABLE_FUNCTION_IMPLEMENTATION = 527 |
| 494 | +CASSANDRA_INTERNAL_ERROR = 528 |
| 495 | +NOT_A_LEADER = 529 |
| 496 | +CANNOT_CONNECT_RABBITMQ = 530 |
| 497 | +CANNOT_FSTAT = 531 |
| 498 | +LDAP_ERROR = 532 |
451 | 499 |
|
452 | 500 | KEEPER_EXCEPTION = 999 |
453 | 501 | POCO_EXCEPTION = 1000 |
454 | 502 | STD_EXCEPTION = 1001 |
455 | 503 | UNKNOWN_EXCEPTION = 1002 |
456 | | -METRIKA_OTHER_ERROR = 1003 |
| 504 | +METRIKA_OTHER_ERROR = 1003 # removed |
457 | 505 |
|
458 | 506 | CONDITIONAL_TREE_PARENT_NOT_FOUND = 2001 |
459 | 507 | ILLEGAL_PROJECTION_MANIPULATOR = 2002 |
| 508 | +UNRECOGNIZED_ARGUMENTS = 2003 |
0 commit comments