1 | namespace DB |
2 | { |
3 | |
4 | namespace ErrorCodes |
5 | { |
6 | /** Previously, these constants were located in one enum. |
7 | * But in this case there is a problem: when you add a new constant, you need to recompile |
8 | * all translation units that use at least one constant (almost the whole project). |
9 | * Therefore it is made so that definitions of constants are located here, in one file, |
10 | * and their declaration are in different files, at the place of use. |
11 | */ |
12 | |
13 | extern const int UNSUPPORTED_METHOD = 1; |
14 | extern const int UNSUPPORTED_PARAMETER = 2; |
15 | extern const int UNEXPECTED_END_OF_FILE = 3; |
16 | extern const int EXPECTED_END_OF_FILE = 4; |
17 | extern const int CANNOT_PARSE_TEXT = 6; |
18 | extern const int INCORRECT_NUMBER_OF_COLUMNS = 7; |
19 | extern const int THERE_IS_NO_COLUMN = 8; |
20 | extern const int SIZES_OF_COLUMNS_DOESNT_MATCH = 9; |
21 | extern const int NOT_FOUND_COLUMN_IN_BLOCK = 10; |
22 | extern const int POSITION_OUT_OF_BOUND = 11; |
23 | extern const int PARAMETER_OUT_OF_BOUND = 12; |
24 | extern const int SIZES_OF_COLUMNS_IN_TUPLE_DOESNT_MATCH = 13; |
25 | extern const int DUPLICATE_COLUMN = 15; |
26 | extern const int NO_SUCH_COLUMN_IN_TABLE = 16; |
27 | extern const int DELIMITER_IN_STRING_LITERAL_DOESNT_MATCH = 17; |
28 | extern const int CANNOT_INSERT_ELEMENT_INTO_CONSTANT_COLUMN = 18; |
29 | extern const int SIZE_OF_FIXED_STRING_DOESNT_MATCH = 19; |
30 | extern const int NUMBER_OF_COLUMNS_DOESNT_MATCH = 20; |
31 | extern const int CANNOT_READ_ALL_DATA_FROM_TAB_SEPARATED_INPUT = 21; |
32 | extern const int CANNOT_PARSE_ALL_VALUE_FROM_TAB_SEPARATED_INPUT = 22; |
33 | extern const int CANNOT_READ_FROM_ISTREAM = 23; |
34 | extern const int CANNOT_WRITE_TO_OSTREAM = 24; |
35 | extern const int CANNOT_PARSE_ESCAPE_SEQUENCE = 25; |
36 | extern const int CANNOT_PARSE_QUOTED_STRING = 26; |
37 | extern const int CANNOT_PARSE_INPUT_ASSERTION_FAILED = 27; |
38 | extern const int CANNOT_PRINT_FLOAT_OR_DOUBLE_NUMBER = 28; |
39 | extern const int CANNOT_PRINT_INTEGER = 29; |
40 | extern const int CANNOT_READ_SIZE_OF_COMPRESSED_CHUNK = 30; |
41 | extern const int CANNOT_READ_COMPRESSED_CHUNK = 31; |
42 | extern const int ATTEMPT_TO_READ_AFTER_EOF = 32; |
43 | extern const int CANNOT_READ_ALL_DATA = 33; |
44 | extern const int TOO_MANY_ARGUMENTS_FOR_FUNCTION = 34; |
45 | extern const int TOO_FEW_ARGUMENTS_FOR_FUNCTION = 35; |
46 | extern const int BAD_ARGUMENTS = 36; |
47 | extern const int UNKNOWN_ELEMENT_IN_AST = 37; |
48 | extern const int CANNOT_PARSE_DATE = 38; |
49 | extern const int TOO_LARGE_SIZE_COMPRESSED = 39; |
50 | extern const int CHECKSUM_DOESNT_MATCH = 40; |
51 | extern const int CANNOT_PARSE_DATETIME = 41; |
52 | extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH = 42; |
53 | extern const int ILLEGAL_TYPE_OF_ARGUMENT = 43; |
54 | extern const int ILLEGAL_COLUMN = 44; |
55 | extern const int ILLEGAL_NUMBER_OF_RESULT_COLUMNS = 45; |
56 | extern const int UNKNOWN_FUNCTION = 46; |
57 | extern const int UNKNOWN_IDENTIFIER = 47; |
58 | extern const int NOT_IMPLEMENTED = 48; |
59 | extern const int LOGICAL_ERROR = 49; |
60 | extern const int UNKNOWN_TYPE = 50; |
61 | extern const int EMPTY_LIST_OF_COLUMNS_QUERIED = 51; |
62 | extern const int COLUMN_QUERIED_MORE_THAN_ONCE = 52; |
63 | extern const int TYPE_MISMATCH = 53; |
64 | extern const int STORAGE_DOESNT_ALLOW_PARAMETERS = 54; |
65 | extern const int STORAGE_REQUIRES_PARAMETER = 55; |
66 | extern const int UNKNOWN_STORAGE = 56; |
67 | extern const int TABLE_ALREADY_EXISTS = 57; |
68 | extern const int TABLE_METADATA_ALREADY_EXISTS = 58; |
69 | extern const int ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER = 59; |
70 | extern const int UNKNOWN_TABLE = 60; |
71 | extern const int ONLY_FILTER_COLUMN_IN_BLOCK = 61; |
72 | extern const int SYNTAX_ERROR = 62; |
73 | extern const int UNKNOWN_AGGREGATE_FUNCTION = 63; |
74 | extern const int CANNOT_READ_AGGREGATE_FUNCTION_FROM_TEXT = 64; |
75 | extern const int CANNOT_WRITE_AGGREGATE_FUNCTION_AS_TEXT = 65; |
76 | extern const int NOT_A_COLUMN = 66; |
77 | extern const int ILLEGAL_KEY_OF_AGGREGATION = 67; |
78 | extern const int CANNOT_GET_SIZE_OF_FIELD = 68; |
79 | extern const int ARGUMENT_OUT_OF_BOUND = 69; |
80 | extern const int CANNOT_CONVERT_TYPE = 70; |
81 | extern const int CANNOT_WRITE_AFTER_END_OF_BUFFER = 71; |
82 | extern const int CANNOT_PARSE_NUMBER = 72; |
83 | extern const int UNKNOWN_FORMAT = 73; |
84 | extern const int CANNOT_READ_FROM_FILE_DESCRIPTOR = 74; |
85 | extern const int CANNOT_WRITE_TO_FILE_DESCRIPTOR = 75; |
86 | extern const int CANNOT_OPEN_FILE = 76; |
87 | extern const int CANNOT_CLOSE_FILE = 77; |
88 | extern const int UNKNOWN_TYPE_OF_QUERY = 78; |
89 | extern const int INCORRECT_FILE_NAME = 79; |
90 | extern const int INCORRECT_QUERY = 80; |
91 | extern const int UNKNOWN_DATABASE = 81; |
92 | extern const int DATABASE_ALREADY_EXISTS = 82; |
93 | extern const int DIRECTORY_DOESNT_EXIST = 83; |
94 | extern const int DIRECTORY_ALREADY_EXISTS = 84; |
95 | extern const int FORMAT_IS_NOT_SUITABLE_FOR_INPUT = 85; |
96 | extern const int RECEIVED_ERROR_FROM_REMOTE_IO_SERVER = 86; |
97 | extern const int CANNOT_SEEK_THROUGH_FILE = 87; |
98 | extern const int CANNOT_TRUNCATE_FILE = 88; |
99 | extern const int UNKNOWN_COMPRESSION_METHOD = 89; |
100 | extern const int EMPTY_LIST_OF_COLUMNS_PASSED = 90; |
101 | extern const int SIZES_OF_MARKS_FILES_ARE_INCONSISTENT = 91; |
102 | extern const int EMPTY_DATA_PASSED = 92; |
103 | extern const int UNKNOWN_AGGREGATED_DATA_VARIANT = 93; |
104 | extern const int CANNOT_MERGE_DIFFERENT_AGGREGATED_DATA_VARIANTS = 94; |
105 | extern const int CANNOT_READ_FROM_SOCKET = 95; |
106 | extern const int CANNOT_WRITE_TO_SOCKET = 96; |
107 | extern const int CANNOT_READ_ALL_DATA_FROM_CHUNKED_INPUT = 97; |
108 | extern const int CANNOT_WRITE_TO_EMPTY_BLOCK_OUTPUT_STREAM = 98; |
109 | extern const int UNKNOWN_PACKET_FROM_CLIENT = 99; |
110 | extern const int UNKNOWN_PACKET_FROM_SERVER = 100; |
111 | extern const int UNEXPECTED_PACKET_FROM_CLIENT = 101; |
112 | extern const int UNEXPECTED_PACKET_FROM_SERVER = 102; |
113 | extern const int RECEIVED_DATA_FOR_WRONG_QUERY_ID = 103; |
114 | extern const int TOO_SMALL_BUFFER_SIZE = 104; |
115 | extern const int CANNOT_READ_HISTORY = 105; |
116 | extern const int CANNOT_APPEND_HISTORY = 106; |
117 | extern const int FILE_DOESNT_EXIST = 107; |
118 | extern const int NO_DATA_TO_INSERT = 108; |
119 | extern const int CANNOT_BLOCK_SIGNAL = 109; |
120 | extern const int CANNOT_UNBLOCK_SIGNAL = 110; |
121 | extern const int CANNOT_MANIPULATE_SIGSET = 111; |
122 | extern const int CANNOT_WAIT_FOR_SIGNAL = 112; |
123 | extern const int THERE_IS_NO_SESSION = 113; |
124 | extern const int CANNOT_CLOCK_GETTIME = 114; |
125 | extern const int UNKNOWN_SETTING = 115; |
126 | extern const int THERE_IS_NO_DEFAULT_VALUE = 116; |
127 | extern const int INCORRECT_DATA = 117; |
128 | extern const int ENGINE_REQUIRED = 119; |
129 | extern const int CANNOT_INSERT_VALUE_OF_DIFFERENT_SIZE_INTO_TUPLE = 120; |
130 | extern const int UNSUPPORTED_JOIN_KEYS = 121; |
131 | extern const int INCOMPATIBLE_COLUMNS = 122; |
132 | extern const int UNKNOWN_TYPE_OF_AST_NODE = 123; |
133 | extern const int INCORRECT_ELEMENT_OF_SET = 124; |
134 | extern const int INCORRECT_RESULT_OF_SCALAR_SUBQUERY = 125; |
135 | extern const int CANNOT_GET_RETURN_TYPE = 126; |
136 | extern const int ILLEGAL_INDEX = 127; |
137 | extern const int TOO_LARGE_ARRAY_SIZE = 128; |
138 | extern const int FUNCTION_IS_SPECIAL = 129; |
139 | extern const int CANNOT_READ_ARRAY_FROM_TEXT = 130; |
140 | extern const int TOO_LARGE_STRING_SIZE = 131; |
141 | extern const int CANNOT_CREATE_TABLE_FROM_METADATA = 132; |
142 | extern const int AGGREGATE_FUNCTION_DOESNT_ALLOW_PARAMETERS = 133; |
143 | extern const int PARAMETERS_TO_AGGREGATE_FUNCTIONS_MUST_BE_LITERALS = 134; |
144 | extern const int ZERO_ARRAY_OR_TUPLE_INDEX = 135; |
145 | extern const int UNKNOWN_ELEMENT_IN_CONFIG = 137; |
146 | extern const int EXCESSIVE_ELEMENT_IN_CONFIG = 138; |
147 | extern const int NO_ELEMENTS_IN_CONFIG = 139; |
148 | extern const int ALL_REQUESTED_COLUMNS_ARE_MISSING = 140; |
149 | extern const int SAMPLING_NOT_SUPPORTED = 141; |
150 | extern const int NOT_FOUND_NODE = 142; |
151 | extern const int FOUND_MORE_THAN_ONE_NODE = 143; |
152 | extern const int FIRST_DATE_IS_BIGGER_THAN_LAST_DATE = 144; |
153 | extern const int UNKNOWN_OVERFLOW_MODE = 145; |
154 | extern const int QUERY_SECTION_DOESNT_MAKE_SENSE = 146; |
155 | extern const int NOT_FOUND_FUNCTION_ELEMENT_FOR_AGGREGATE = 147; |
156 | extern const int NOT_FOUND_RELATION_ELEMENT_FOR_CONDITION = 148; |
157 | extern const int NOT_FOUND_RHS_ELEMENT_FOR_CONDITION = 149; |
158 | extern const int EMPTY_LIST_OF_ATTRIBUTES_PASSED = 150; |
159 | extern const int INDEX_OF_COLUMN_IN_SORT_CLAUSE_IS_OUT_OF_RANGE = 151; |
160 | extern const int UNKNOWN_DIRECTION_OF_SORTING = 152; |
161 | extern const int ILLEGAL_DIVISION = 153; |
162 | extern const int AGGREGATE_FUNCTION_NOT_APPLICABLE = 154; |
163 | extern const int UNKNOWN_RELATION = 155; |
164 | extern const int DICTIONARIES_WAS_NOT_LOADED = 156; |
165 | extern const int ILLEGAL_OVERFLOW_MODE = 157; |
166 | extern const int TOO_MANY_ROWS = 158; |
167 | extern const int TIMEOUT_EXCEEDED = 159; |
168 | extern const int TOO_SLOW = 160; |
169 | extern const int TOO_MANY_COLUMNS = 161; |
170 | extern const int TOO_DEEP_SUBQUERIES = 162; |
171 | extern const int TOO_DEEP_PIPELINE = 163; |
172 | extern const int READONLY = 164; |
173 | extern const int TOO_MANY_TEMPORARY_COLUMNS = 165; |
174 | extern const int TOO_MANY_TEMPORARY_NON_CONST_COLUMNS = 166; |
175 | extern const int TOO_DEEP_AST = 167; |
176 | extern const int TOO_BIG_AST = 168; |
177 | extern const int BAD_TYPE_OF_FIELD = 169; |
178 | extern const int BAD_GET = 170; |
179 | extern const int BLOCKS_HAVE_DIFFERENT_STRUCTURE = 171; |
180 | extern const int CANNOT_CREATE_DIRECTORY = 172; |
181 | extern const int CANNOT_ALLOCATE_MEMORY = 173; |
182 | extern const int CYCLIC_ALIASES = 174; |
183 | extern const int CHUNK_NOT_FOUND = 176; |
184 | extern const int DUPLICATE_CHUNK_NAME = 177; |
185 | extern const int MULTIPLE_ALIASES_FOR_EXPRESSION = 178; |
186 | extern const int MULTIPLE_EXPRESSIONS_FOR_ALIAS = 179; |
187 | extern const int THERE_IS_NO_PROFILE = 180; |
188 | extern const int ILLEGAL_FINAL = 181; |
189 | extern const int ILLEGAL_PREWHERE = 182; |
190 | extern const int UNEXPECTED_EXPRESSION = 183; |
191 | extern const int ILLEGAL_AGGREGATION = 184; |
192 | extern const int UNSUPPORTED_MYISAM_BLOCK_TYPE = 185; |
193 | extern const int UNSUPPORTED_COLLATION_LOCALE = 186; |
194 | extern const int COLLATION_COMPARISON_FAILED = 187; |
195 | extern const int UNKNOWN_ACTION = 188; |
196 | extern const int TABLE_MUST_NOT_BE_CREATED_MANUALLY = 189; |
197 | extern const int SIZES_OF_ARRAYS_DOESNT_MATCH = 190; |
198 | extern const int SET_SIZE_LIMIT_EXCEEDED = 191; |
199 | extern const int UNKNOWN_USER = 192; |
200 | extern const int WRONG_PASSWORD = 193; |
201 | extern const int REQUIRED_PASSWORD = 194; |
202 | extern const int IP_ADDRESS_NOT_ALLOWED = 195; |
203 | extern const int UNKNOWN_ADDRESS_PATTERN_TYPE = 196; |
204 | extern const int SERVER_REVISION_IS_TOO_OLD = 197; |
205 | extern const int DNS_ERROR = 198; |
206 | extern const int UNKNOWN_QUOTA = 199; |
207 | extern const int QUOTA_DOESNT_ALLOW_KEYS = 200; |
208 | extern const int QUOTA_EXPIRED = 201; |
209 | extern const int TOO_MANY_SIMULTANEOUS_QUERIES = 202; |
210 | extern const int NO_FREE_CONNECTION = 203; |
211 | extern const int CANNOT_FSYNC = 204; |
212 | extern const int NESTED_TYPE_TOO_DEEP = 205; |
213 | extern const int ALIAS_REQUIRED = 206; |
214 | extern const int AMBIGUOUS_IDENTIFIER = 207; |
215 | extern const int EMPTY_NESTED_TABLE = 208; |
216 | extern const int SOCKET_TIMEOUT = 209; |
217 | extern const int NETWORK_ERROR = 210; |
218 | extern const int EMPTY_QUERY = 211; |
219 | extern const int UNKNOWN_LOAD_BALANCING = 212; |
220 | extern const int UNKNOWN_TOTALS_MODE = 213; |
221 | extern const int CANNOT_STATVFS = 214; |
222 | extern const int NOT_AN_AGGREGATE = 215; |
223 | extern const int QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING = 216; |
224 | extern const int CLIENT_HAS_CONNECTED_TO_WRONG_PORT = 217; |
225 | extern const int TABLE_IS_DROPPED = 218; |
226 | extern const int DATABASE_NOT_EMPTY = 219; |
227 | extern const int DUPLICATE_INTERSERVER_IO_ENDPOINT = 220; |
228 | extern const int NO_SUCH_INTERSERVER_IO_ENDPOINT = 221; |
229 | extern const int ADDING_REPLICA_TO_NON_EMPTY_TABLE = 222; |
230 | extern const int UNEXPECTED_AST_STRUCTURE = 223; |
231 | extern const int REPLICA_IS_ALREADY_ACTIVE = 224; |
232 | extern const int NO_ZOOKEEPER = 225; |
233 | extern const int NO_FILE_IN_DATA_PART = 226; |
234 | extern const int UNEXPECTED_FILE_IN_DATA_PART = 227; |
235 | extern const int BAD_SIZE_OF_FILE_IN_DATA_PART = 228; |
236 | extern const int QUERY_IS_TOO_LARGE = 229; |
237 | extern const int NOT_FOUND_EXPECTED_DATA_PART = 230; |
238 | extern const int TOO_MANY_UNEXPECTED_DATA_PARTS = 231; |
239 | extern const int NO_SUCH_DATA_PART = 232; |
240 | extern const int BAD_DATA_PART_NAME = 233; |
241 | extern const int NO_REPLICA_HAS_PART = 234; |
242 | extern const int DUPLICATE_DATA_PART = 235; |
243 | extern const int ABORTED = 236; |
244 | extern const int NO_REPLICA_NAME_GIVEN = 237; |
245 | extern const int FORMAT_VERSION_TOO_OLD = 238; |
246 | extern const int CANNOT_MUNMAP = 239; |
247 | extern const int CANNOT_MREMAP = 240; |
248 | extern const int MEMORY_LIMIT_EXCEEDED = 241; |
249 | extern const int TABLE_IS_READ_ONLY = 242; |
250 | extern const int NOT_ENOUGH_SPACE = 243; |
251 | extern const int UNEXPECTED_ZOOKEEPER_ERROR = 244; |
252 | extern const int CORRUPTED_DATA = 246; |
253 | extern const int INCORRECT_MARK = 247; |
254 | extern const int INVALID_PARTITION_VALUE = 248; |
255 | extern const int NOT_ENOUGH_BLOCK_NUMBERS = 250; |
256 | extern const int NO_SUCH_REPLICA = 251; |
257 | extern const int TOO_MANY_PARTS = 252; |
258 | extern const int REPLICA_IS_ALREADY_EXIST = 253; |
259 | extern const int NO_ACTIVE_REPLICAS = 254; |
260 | extern const int TOO_MANY_RETRIES_TO_FETCH_PARTS = 255; |
261 | extern const int PARTITION_ALREADY_EXISTS = 256; |
262 | extern const int PARTITION_DOESNT_EXIST = 257; |
263 | extern const int UNION_ALL_RESULT_STRUCTURES_MISMATCH = 258; |
264 | extern const int CLIENT_OUTPUT_FORMAT_SPECIFIED = 260; |
265 | extern const int UNKNOWN_BLOCK_INFO_FIELD = 261; |
266 | extern const int BAD_COLLATION = 262; |
267 | extern const int CANNOT_COMPILE_CODE = 263; |
268 | extern const int INCOMPATIBLE_TYPE_OF_JOIN = 264; |
269 | extern const int NO_AVAILABLE_REPLICA = 265; |
270 | extern const int MISMATCH_REPLICAS_DATA_SOURCES = 266; |
271 | extern const int STORAGE_DOESNT_SUPPORT_PARALLEL_REPLICAS = 267; |
272 | extern const int CPUID_ERROR = 268; |
273 | extern const int INFINITE_LOOP = 269; |
274 | extern const int CANNOT_COMPRESS = 270; |
275 | extern const int CANNOT_DECOMPRESS = 271; |
276 | extern const int CANNOT_IO_SUBMIT = 272; |
277 | extern const int CANNOT_IO_GETEVENTS = 273; |
278 | extern const int AIO_READ_ERROR = 274; |
279 | extern const int AIO_WRITE_ERROR = 275; |
280 | extern const int INDEX_NOT_USED = 277; |
281 | extern const int LEADERSHIP_LOST = 278; |
282 | extern const int ALL_CONNECTION_TRIES_FAILED = 279; |
283 | extern const int NO_AVAILABLE_DATA = 280; |
284 | extern const int DICTIONARY_IS_EMPTY = 281; |
285 | extern const int INCORRECT_INDEX = 282; |
286 | extern const int UNKNOWN_DISTRIBUTED_PRODUCT_MODE = 283; |
287 | extern const int UNKNOWN_GLOBAL_SUBQUERIES_METHOD = 284; |
288 | extern const int TOO_FEW_LIVE_REPLICAS = 285; |
289 | extern const int UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE = 286; |
290 | extern const int UNKNOWN_FORMAT_VERSION = 287; |
291 | extern const int DISTRIBUTED_IN_JOIN_SUBQUERY_DENIED = 288; |
292 | extern const int REPLICA_IS_NOT_IN_QUORUM = 289; |
293 | extern const int LIMIT_EXCEEDED = 290; |
294 | extern const int DATABASE_ACCESS_DENIED = 291; |
295 | extern const int LEADERSHIP_CHANGED = 292; |
296 | extern const int MONGODB_CANNOT_AUTHENTICATE = 293; |
297 | extern const int = 294; |
298 | extern const int RECEIVED_EMPTY_DATA = 295; |
299 | extern const int NO_REMOTE_SHARD_FOUND = 296; |
300 | extern const int SHARD_HAS_NO_CONNECTIONS = 297; |
301 | extern const int CANNOT_PIPE = 298; |
302 | extern const int CANNOT_FORK = 299; |
303 | extern const int CANNOT_DLSYM = 300; |
304 | extern const int CANNOT_CREATE_CHILD_PROCESS = 301; |
305 | extern const int CHILD_WAS_NOT_EXITED_NORMALLY = 302; |
306 | extern const int CANNOT_SELECT = 303; |
307 | extern const int CANNOT_WAITPID = 304; |
308 | extern const int TABLE_WAS_NOT_DROPPED = 305; |
309 | extern const int TOO_DEEP_RECURSION = 306; |
310 | extern const int TOO_MANY_BYTES = 307; |
311 | extern const int UNEXPECTED_NODE_IN_ZOOKEEPER = 308; |
312 | extern const int FUNCTION_CANNOT_HAVE_PARAMETERS = 309; |
313 | extern const int INVALID_SHARD_WEIGHT = 317; |
314 | extern const int INVALID_CONFIG_PARAMETER = 318; |
315 | extern const int UNKNOWN_STATUS_OF_INSERT = 319; |
316 | extern const int VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE = 321; |
317 | extern const int BARRIER_TIMEOUT = 335; |
318 | extern const int UNKNOWN_DATABASE_ENGINE = 336; |
319 | extern const int DDL_GUARD_IS_ACTIVE = 337; |
320 | extern const int UNFINISHED = 341; |
321 | extern const int METADATA_MISMATCH = 342; |
322 | extern const int SUPPORT_IS_DISABLED = 344; |
323 | extern const int TABLE_DIFFERS_TOO_MUCH = 345; |
324 | extern const int CANNOT_CONVERT_CHARSET = 346; |
325 | extern const int CANNOT_LOAD_CONFIG = 347; |
326 | extern const int CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN = 349; |
327 | extern const int INCOMPATIBLE_SOURCE_TABLES = 350; |
328 | extern const int AMBIGUOUS_TABLE_NAME = 351; |
329 | extern const int AMBIGUOUS_COLUMN_NAME = 352; |
330 | extern const int INDEX_OF_POSITIONAL_ARGUMENT_IS_OUT_OF_RANGE = 353; |
331 | extern const int ZLIB_INFLATE_FAILED = 354; |
332 | extern const int ZLIB_DEFLATE_FAILED = 355; |
333 | extern const int BAD_LAMBDA = 356; |
334 | extern const int RESERVED_IDENTIFIER_NAME = 357; |
335 | extern const int INTO_OUTFILE_NOT_ALLOWED = 358; |
336 | extern const int TABLE_SIZE_EXCEEDS_MAX_DROP_SIZE_LIMIT = 359; |
337 | extern const int CANNOT_CREATE_CHARSET_CONVERTER = 360; |
338 | extern const int SEEK_POSITION_OUT_OF_BOUND = 361; |
339 | extern const int CURRENT_WRITE_BUFFER_IS_EXHAUSTED = 362; |
340 | extern const int CANNOT_CREATE_IO_BUFFER = 363; |
341 | extern const int RECEIVED_ERROR_TOO_MANY_REQUESTS = 364; |
342 | extern const int OUTPUT_IS_NOT_SORTED = 365; |
343 | extern const int SIZES_OF_NESTED_COLUMNS_ARE_INCONSISTENT = 366; |
344 | extern const int TOO_MANY_FETCHES = 367; |
345 | extern const int BAD_CAST = 368; |
346 | extern const int ALL_REPLICAS_ARE_STALE = 369; |
347 | extern const int DATA_TYPE_CANNOT_BE_USED_IN_TABLES = 370; |
348 | extern const int INCONSISTENT_CLUSTER_DEFINITION = 371; |
349 | extern const int SESSION_NOT_FOUND = 372; |
350 | extern const int SESSION_IS_LOCKED = 373; |
351 | extern const int INVALID_SESSION_TIMEOUT = 374; |
352 | extern const int CANNOT_DLOPEN = 375; |
353 | extern const int CANNOT_PARSE_UUID = 376; |
354 | extern const int ILLEGAL_SYNTAX_FOR_DATA_TYPE = 377; |
355 | extern const int DATA_TYPE_CANNOT_HAVE_ARGUMENTS = 378; |
356 | extern const int UNKNOWN_STATUS_OF_DISTRIBUTED_DDL_TASK = 379; |
357 | extern const int CANNOT_KILL = 380; |
358 | extern const int HTTP_LENGTH_REQUIRED = 381; |
359 | extern const int CANNOT_LOAD_CATBOOST_MODEL = 382; |
360 | extern const int CANNOT_APPLY_CATBOOST_MODEL = 383; |
361 | extern const int PART_IS_TEMPORARILY_LOCKED = 384; |
362 | extern const int MULTIPLE_STREAMS_REQUIRED = 385; |
363 | extern const int NO_COMMON_TYPE = 386; |
364 | extern const int DICTIONARY_ALREADY_EXISTS = 387; |
365 | extern const int CANNOT_ASSIGN_OPTIMIZE = 388; |
366 | extern const int INSERT_WAS_DEDUPLICATED = 389; |
367 | extern const int CANNOT_GET_CREATE_TABLE_QUERY = 390; |
368 | extern const int EXTERNAL_LIBRARY_ERROR = 391; |
369 | extern const int QUERY_IS_PROHIBITED = 392; |
370 | extern const int THERE_IS_NO_QUERY = 393; |
371 | extern const int QUERY_WAS_CANCELLED = 394; |
372 | extern const int FUNCTION_THROW_IF_VALUE_IS_NON_ZERO = 395; |
373 | extern const int TOO_MANY_ROWS_OR_BYTES = 396; |
374 | extern const int QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW = 397; |
375 | extern const int UNKNOWN_MUTATION_COMMAND = 398; |
376 | extern const int FORMAT_IS_NOT_SUITABLE_FOR_OUTPUT = 399; |
377 | extern const int CANNOT_STAT = 400; |
378 | extern const int FEATURE_IS_NOT_ENABLED_AT_BUILD_TIME = 401; |
379 | extern const int CANNOT_IOSETUP = 402; |
380 | extern const int INVALID_JOIN_ON_EXPRESSION = 403; |
381 | extern const int BAD_ODBC_CONNECTION_STRING = 404; |
382 | extern const int PARTITION_SIZE_EXCEEDS_MAX_DROP_SIZE_LIMIT = 405; |
383 | extern const int TOP_AND_LIMIT_TOGETHER = 406; |
384 | extern const int DECIMAL_OVERFLOW = 407; |
385 | extern const int BAD_REQUEST_PARAMETER = 408; |
386 | extern const int EXTERNAL_EXECUTABLE_NOT_FOUND = 409; |
387 | extern const int EXTERNAL_SERVER_IS_NOT_RESPONDING = 410; |
388 | extern const int PTHREAD_ERROR = 411; |
389 | extern const int NETLINK_ERROR = 412; |
390 | extern const int CANNOT_SET_SIGNAL_HANDLER = 413; |
391 | extern const int CANNOT_READLINE = 414; |
392 | extern const int ALL_REPLICAS_LOST = 415; |
393 | extern const int REPLICA_STATUS_CHANGED = 416; |
394 | extern const int EXPECTED_ALL_OR_ANY = 417; |
395 | extern const int UNKNOWN_JOIN_STRICTNESS = 418; |
396 | extern const int MULTIPLE_ASSIGNMENTS_TO_COLUMN = 419; |
397 | extern const int CANNOT_UPDATE_COLUMN = 420; |
398 | extern const int CANNOT_ADD_DIFFERENT_AGGREGATE_STATES = 421; |
399 | extern const int UNSUPPORTED_URI_SCHEME = 422; |
400 | extern const int CANNOT_GETTIMEOFDAY = 423; |
401 | extern const int CANNOT_LINK = 424; |
402 | extern const int SYSTEM_ERROR = 425; |
403 | extern const int NULL_POINTER_DEREFERENCE = 426; |
404 | extern const int CANNOT_COMPILE_REGEXP = 427; |
405 | extern const int UNKNOWN_LOG_LEVEL = 428; |
406 | extern const int FAILED_TO_GETPWUID = 429; |
407 | extern const int MISMATCHING_USERS_FOR_PROCESS_AND_DATA = 430; |
408 | extern const int ILLEGAL_SYNTAX_FOR_CODEC_TYPE = 431; |
409 | extern const int UNKNOWN_CODEC = 432; |
410 | extern const int ILLEGAL_CODEC_PARAMETER = 433; |
411 | extern const int CANNOT_PARSE_PROTOBUF_SCHEMA = 434; |
412 | extern const int NO_DATA_FOR_REQUIRED_PROTOBUF_FIELD = 435; |
413 | extern const int PROTOBUF_BAD_CAST = 436; |
414 | extern const int PROTOBUF_FIELD_NOT_REPEATED = 437; |
415 | extern const int DATA_TYPE_CANNOT_BE_PROMOTED = 438; |
416 | extern const int CANNOT_SCHEDULE_TASK = 439; |
417 | extern const int INVALID_LIMIT_EXPRESSION = 440; |
418 | extern const int CANNOT_PARSE_DOMAIN_VALUE_FROM_STRING = 441; |
419 | extern const int BAD_DATABASE_FOR_TEMPORARY_TABLE = 442; |
420 | extern const int NO_COMMON_COLUMNS_WITH_PROTOBUF_SCHEMA = 443; |
421 | extern const int UNKNOWN_PROTOBUF_FORMAT = 444; |
422 | extern const int CANNOT_MPROTECT = 445; |
423 | extern const int FUNCTION_NOT_ALLOWED = 446; |
424 | extern const int HYPERSCAN_CANNOT_SCAN_TEXT = 447; |
425 | extern const int BROTLI_READ_FAILED = 448; |
426 | extern const int BROTLI_WRITE_FAILED = 449; |
427 | extern const int BAD_TTL_EXPRESSION = 450; |
428 | extern const int BAD_TTL_FILE = 451; |
429 | extern const int SETTING_CONSTRAINT_VIOLATION = 452; |
430 | extern const int MYSQL_CLIENT_INSUFFICIENT_CAPABILITIES = 453; |
431 | extern const int OPENSSL_ERROR = 454; |
432 | extern const int SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY = 455; |
433 | extern const int UNKNOWN_QUERY_PARAMETER = 456; |
434 | extern const int BAD_QUERY_PARAMETER = 457; |
435 | extern const int CANNOT_UNLINK = 458; |
436 | extern const int CANNOT_SET_THREAD_PRIORITY = 459; |
437 | extern const int CANNOT_CREATE_TIMER = 460; |
438 | extern const int CANNOT_SET_TIMER_PERIOD = 461; |
439 | extern const int CANNOT_DELETE_TIMER = 462; |
440 | extern const int CANNOT_FCNTL = 463; |
441 | extern const int CANNOT_PARSE_ELF = 464; |
442 | extern const int CANNOT_PARSE_DWARF = 465; |
443 | extern const int INSECURE_PATH = 466; |
444 | extern const int CANNOT_PARSE_BOOL = 467; |
445 | extern const int CANNOT_PTHREAD_ATTR = 468; |
446 | extern const int VIOLATED_CONSTRAINT = 469; |
447 | extern const int QUERY_IS_NOT_SUPPORTED_IN_LIVE_VIEW = 470; |
448 | extern const int SETTINGS_ARE_NOT_SUPPORTED = 471; |
449 | extern const int READONLY_SETTING = 472; |
450 | extern const int DEADLOCK_AVOIDED = 473; |
451 | extern const int INVALID_TEMPLATE_FORMAT = 474; |
452 | extern const int INVALID_WITH_FILL_EXPRESSION = 475; |
453 | extern const int WITH_TIES_WITHOUT_ORDER_BY = 476; |
454 | extern const int INVALID_USAGE_OF_INPUT = 477; |
455 | extern const int UNKNOWN_POLICY = 478; |
456 | extern const int UNKNOWN_DISK = 479; |
457 | extern const int UNKNOWN_PROTOCOL = 480; |
458 | extern const int PATH_ACCESS_DENIED = 481; |
459 | extern const int DICTIONARY_ACCESS_DENIED = 482; |
460 | extern const int TOO_MANY_REDIRECTS = 483; |
461 | extern const int INTERNAL_REDIS_ERROR = 484; |
462 | extern const int SCALAR_ALREADY_EXISTS = 485; |
463 | extern const int UNKNOWN_SCALAR = 486; |
464 | extern const int CANNOT_GET_CREATE_DICTIONARY_QUERY = 487; |
465 | extern const int UNKNOWN_DICTIONARY = 488; |
466 | extern const int INCORRECT_DICTIONARY_DEFINITION = 489; |
467 | extern const int CANNOT_FORMAT_DATETIME = 490; |
468 | extern const int UNACCEPTABLE_URL = 491; |
469 | extern const int ACCESS_ENTITY_NOT_FOUND = 492; |
470 | extern const int ACCESS_ENTITY_ALREADY_EXISTS = 493; |
471 | extern const int ACCESS_ENTITY_FOUND_DUPLICATES = 494; |
472 | extern const int ACCESS_ENTITY_STORAGE_READONLY = 495; |
473 | extern const int QUOTA_REQUIRES_CLIENT_KEY = 496; |
474 | extern const int NOT_ENOUGH_PRIVILEGES = 497; |
475 | extern const int LIMIT_BY_WITH_TIES_IS_NOT_SUPPORTED = 498; |
476 | extern const int S3_ERROR = 499; |
477 | extern const int CANNOT_CREATE_DICTIONARY_FROM_METADATA = 500; |
478 | extern const int CANNOT_CREATE_DATABASE = 501; |
479 | extern const int CANNOT_SIGQUEUE = 502; |
480 | extern const int AGGREGATE_FUNCTION_THROW = 503; |
481 | |
482 | extern const int KEEPER_EXCEPTION = 999; |
483 | extern const int POCO_EXCEPTION = 1000; |
484 | extern const int STD_EXCEPTION = 1001; |
485 | extern const int UNKNOWN_EXCEPTION = 1002; |
486 | |
487 | extern const int CONDITIONAL_TREE_PARENT_NOT_FOUND = 2001; |
488 | extern const int ILLEGAL_PROJECTION_MANIPULATOR = 2002; |
489 | } |
490 | |
491 | } |
492 | |