-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
delta-error-classes.json
1756 lines (1756 loc) · 55 KB
/
delta-error-classes.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"DELTA_ACTIVE_SPARK_SESSION_NOT_FOUND" : {
"message" : [
"Could not find active SparkSession"
],
"sqlState" : "42000"
},
"DELTA_ACTIVE_TRANSACTION_ALREADY_SET" : {
"message" : [
"Cannot set a new txn as active when one is already active"
],
"sqlState" : "42000"
},
"DELTA_ADD_COLUMN_AT_INDEX_LESS_THAN_ZERO" : {
"message" : [
"Index <columnIndex> to add column <columnName> is lower than 0"
],
"sqlState" : "2F000"
},
"DELTA_ADD_COLUMN_PARENT_NOT_STRUCT" : {
"message" : [
"Cannot add <columnName> because its parent is not a StructType. Found <other>"
],
"sqlState" : "42000"
},
"DELTA_ADD_COLUMN_STRUCT_NOT_FOUND" : {
"message" : [
"Struct not found at position <position>"
],
"sqlState" : "2F000"
},
"DELTA_ADD_CONSTRAINTS" : {
"message" : [
"Please use ALTER TABLE ADD CONSTRAINT to add CHECK constraints."
],
"sqlState" : "42000"
},
"DELTA_AGGREGATE_IN_GENERATED_COLUMN" : {
"message" : [
"Found <sqlExpr>. A generated column cannot use an aggregate expression"
],
"sqlState" : "42000"
},
"DELTA_AGGREGATION_NOT_SUPPORTED" : {
"message" : [
"Aggregate functions are not supported in the <operation> <predicate>."
],
"sqlState" : "0A000"
},
"DELTA_ALTER_TABLE_CHANGE_COL_NOT_SUPPORTED" : {
"message" : [
"ALTER TABLE CHANGE COLUMN is not supported for changing column <currentType> to <newType>"
],
"sqlState" : "0A000"
},
"DELTA_AMBIGUOUS_PARTITION_COLUMN" : {
"message" : [
"Ambiguous partition column <column> can be <colMatches>."
],
"sqlState" : "42000"
},
"DELTA_AMBIGUOUS_PATHS_IN_CREATE_TABLE" : {
"message" : [
"CREATE TABLE contains two different locations: <identifier> and <location>.",
"You can remove the LOCATION clause from the CREATE TABLE statement, or set",
"<config> to true to skip this check.",
""
],
"sqlState" : "42000"
},
"DELTA_BLOCK_COLUMN_MAPPING_AND_CDC_OPERATION" : {
"message" : [
"Operation \"<opName>\" is not allowed when the table has enabled change data feed (CDF) and has undergone schema changes using DROP COLUMN or RENAME COLUMN."
],
"sqlState" : "0A000"
},
"DELTA_BLOCK_COLUMN_MAPPING_SCHEMA_INCOMPATIBLE_OPERATION" : {
"message" : [
"<opName> is not supported on tables with column mapping schema changes (e.g. rename or drop). Read schema: <readSchema>. Incompatible schema: <incompatibleSchema>. You may force enable streaming read at your own risk by turning on <config>."
],
"sqlState" : "0A000"
},
"DELTA_BLOOM_FILTER_DROP_ON_NON_EXISTING_COLUMNS" : {
"message" : [
"Cannot drop bloom filter indices for the following non-existent column(s): <unknownColumns>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_CHANGE_DATA_TYPE" : {
"message" : [
"Cannot change data type: <dataType>"
],
"sqlState" : "22000"
},
"DELTA_CANNOT_CHANGE_LOCATION" : {
"message" : [
"Cannot change the 'location' of the Delta table using SET TBLPROPERTIES. Please use ALTER TABLE SET LOCATION instead."
],
"sqlState" : "2F000"
},
"DELTA_CANNOT_CHANGE_PROVIDER" : {
"message" : [
"'provider' is a reserved table property, and cannot be altered."
],
"sqlState" : "2F000"
},
"DELTA_CANNOT_CONVERT_TO_FILEFORMAT" : {
"message" : [
"Can not convert<className> to FileFormat."
],
"sqlState" : "22000"
},
"DELTA_CANNOT_CREATE_BLOOM_FILTER_NON_EXISTING_COL" : {
"message" : [
"Cannot create bloom filter indices for the following non-existent column(s): <unknownCols>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_CREATE_LOG_PATH" : {
"message" : [
"Cannot create <path>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_DESCRIBE_VIEW_HISTORY" : {
"message" : [
"Cannot describe the history of a view."
],
"sqlState" : "0A000"
},
"DELTA_CANNOT_DROP_BLOOM_FILTER_ON_NON_INDEXED_COLUMN" : {
"message" : [
"Cannot drop bloom filter index on a non indexed column: <columnName>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_EVALUATE_EXPRESSION" : {
"message" : [
"Cannot evaluate expression: <expression>"
],
"sqlState" : "0A000"
},
"DELTA_CANNOT_FIND_VERSION" : {
"message" : [
"Cannot find 'sourceVersion' in <json>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_GENERATE_CODE_FOR_EXPRESSION" : {
"message" : [
"Cannot generate code for expression: <expression>"
],
"sqlState" : "0A000"
},
"DELTA_CANNOT_GENERATE_UPDATE_EXPRESSIONS" : {
"message" : [
"Calling without generated columns should always return a update expression for each column"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_MODIFY_APPEND_ONLY" : {
"message" : [
"This table is configured to only allow appends. If you would like to permit updates or deletes, use 'ALTER TABLE <table_name> SET TBLPROPERTIES (<config>=false)'."
],
"sqlState" : "42000"
},
"DELTA_CANNOT_MODIFY_TABLE_PROPERTY" : {
"message" : [
"The Delta table configuration <prop> cannot be specified by the user"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_RENAME_PATH" : {
"message" : [
"Cannot rename <currentPath> to <newPath>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_REPLACE_MISSING_TABLE" : {
"message" : [
"Table <tableName> cannot be replaced as it does not exist. Use CREATE OR REPLACE TABLE to create the table."
],
"sqlState" : "22000"
},
"DELTA_CANNOT_RESOLVE_COLUMN" : {
"message" : [
"Can't resolve column <columnName> in <schema>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_RESOLVE_SOURCE_COLUMN" : {
"message" : [
"Couldn't resolve qualified source column <columnName> within the source query."
],
"sqlState" : "42000"
},
"DELTA_CANNOT_RESTORE_TABLE_VERSION" : {
"message" : [
"Cannot restore table to version <version>. Available versions: [<startVersion>, <endVersion>]."
],
"sqlState" : "22000"
},
"DELTA_CANNOT_RESTORE_TIMESTAMP_GREATER" : {
"message" : [
"Cannot restore table to timestamp (<requestedTimestamp>) as it is after the latest version available. Please use a timestamp before (<latestTimestamp>)"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_SET_LOCATION_MULTIPLE_TIMES" : {
"message" : [
"Can't set location multiple times. Found <location>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_UPDATE_ARRAY_FIELD" : {
"message" : [
"Cannot update %1$s field %2$s type: update the element by updating %2$s.element"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_UPDATE_MAP_FIELD" : {
"message" : [
"Cannot update %1$s field %2$s type: update a map by updating %2$s.key or %2$s.value"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_UPDATE_OTHER_FIELD" : {
"message" : [
"Cannot update <tableName> field of type <typeName>"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_UPDATE_STRUCT_FIELD" : {
"message" : [
"Cannot update <tableName> field <fieldName> type: update struct by adding, deleting, or updating its fields"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_USE_ALL_COLUMNS_FOR_PARTITION" : {
"message" : [
"Cannot use all columns for partition columns"
],
"sqlState" : "42000"
},
"DELTA_CANNOT_WRITE_INTO_VIEW" : {
"message" : [
"<table> is a view. Writes to a view are not supported."
],
"sqlState" : "42000"
},
"DELTA_CDC_NOT_ALLOWED_IN_THIS_VERSION" : {
"message" : [
"Configuration delta.enableChangeDataFeed cannot be set. Change data feed from Delta is not yet available."
],
"sqlState" : "0A000"
},
"DELTA_CHANGE_TABLE_FEED_DISABLED" : {
"message" : [
"Cannot write to table with delta.enableChangeDataFeed set. Change data feed from Delta is not available."
],
"sqlState" : "42000"
},
"DELTA_CHECKPOINT_SNAPSHOT_MISMATCH" : {
"message" : [
"State of the checkpoint doesn't match that of the snapshot."
],
"sqlState" : "22000"
},
"DELTA_COLUMN_NOT_FOUND" : {
"message" : [
"Unable to find the column `<columnName>` given [<columnList>]"
],
"sqlState" : "26000"
},
"DELTA_COLUMN_NOT_FOUND_IN_MERGE" : {
"message" : [
"Unable to find the column '<targetCol>' of the target table from the INSERT columns: <colNames>. INSERT clause must specify value for all the columns of the target table."
],
"sqlState" : "42000"
},
"DELTA_COLUMN_NOT_FOUND_IN_SCHEMA" : {
"message" : [
"Couldn't find column <columnName> in:\n<tableSchema>"
],
"sqlState" : "42000"
},
"DELTA_COLUMN_PATH_NOT_NESTED" : {
"message" : [
"Expected <columnPath> to be a nested data type, but found <other>. Was looking for the",
"index of <column> in a nested field",
""
],
"sqlState" : "42000"
},
"DELTA_COLUMN_STRUCT_TYPE_MISMATCH" : {
"message" : [
"Struct column <source> cannot be inserted into a <targetType> field <targetField> in <targetTable>."
],
"sqlState" : "2200G"
},
"DELTA_COMPLEX_TYPE_COLUMN_CONTAINS_NULL_TYPE" : {
"message" : [
" Found nested NullType in column <columName> which is of <dataType>. Delta doesn't support writing NullType in complex types."
],
"sqlState" : "22005"
},
"DELTA_CONFIGURE_SPARK_SESSION_WITH_EXTENSION_AND_CATALOG" : {
"message" : [
"This Delta operation requires the SparkSession to be configured with the",
"DeltaSparkSessionExtension and the DeltaCatalog. Please set the necessary",
"configurations when creating the SparkSession as shown below.",
"",
" SparkSession.builder()",
" .config(\"spark.sql.extensions\", \"<sparkSessionExtensionName>\")",
" .config(\"<catalogKey>\", \"<catalogClassName>\")",
" ...",
" .getOrCreate()",
""
],
"sqlState" : "42000"
},
"DELTA_CONFLICT_SET_COLUMN" : {
"message" : [
"There is a conflict from these SET columns: <columnList>."
],
"sqlState" : "42000"
},
"DELTA_CONSTRAINT_ALREADY_EXISTS" : {
"message" : [
"Constraint '<constraintName>' already exists. Please delete the old constraint first.",
"Old constraint:",
"<oldConstraint>"
],
"sqlState" : "42000"
},
"DELTA_CONSTRAINT_DOES_NOT_EXIST" : {
"message" : [
"Cannot drop nonexistent constraint <constraintName> from table <tableName>. To avoid throwing an error, provide the parameter IF EXISTS or set the SQL session configuration <config> to <confValue>."
],
"sqlState" : "42000"
},
"DELTA_CONVERSION_UNSUPPORTED_COLUMN_MAPPING" : {
"message" : [
"The configuration '<config>' cannot be set to `<mode>` when using CONVERT TO DELTA."
],
"sqlState" : "0A000"
},
"DELTA_CONVERT_NON_PARQUET_TABLE" : {
"message" : [
"CONVERT TO DELTA only supports parquet tables, but you are trying to convert a <sourceName> source: <tableId>"
],
"sqlState" : "0A000"
},
"DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_SCHEMA" : {
"message" : [
"",
"You are trying to create an external table <tableName>",
"from `<path>` using Delta, but the schema is not specified when the",
"input path is empty.",
"",
"To learn more about Delta, see <docLink>"
],
"sqlState" : "42000"
},
"DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_TXN_LOG" : {
"message" : [
"",
"You are trying to create an external table <tableName>",
"from `%2$s` using Delta, but there is no transaction log present at",
"`%2$s/_delta_log`. Check the upstream job to make sure that it is writing using",
"format(\"delta\") and that the path is the root of the table.",
"",
"To learn more about Delta, see <docLink>"
],
"sqlState" : "42000"
},
"DELTA_CREATE_TABLE_SCHEME_MISMATCH" : {
"message" : [
"The specified schema does not match the existing schema at <path>.",
"",
"== Specified ==",
"<specifiedSchema>",
"",
"== Existing ==",
"<existingSchema>",
"",
"== Differences ==",
"<schemaDifferences>",
"",
"If your intention is to keep the existing schema, you can omit the",
"schema from the create table command. Otherwise please ensure that",
"the schema matches."
],
"sqlState" : "42000"
},
"DELTA_CREATE_TABLE_WITH_DIFFERENT_PARTITIONING" : {
"message" : [
"The specified partitioning does not match the existing partitioning at <path>.",
"",
"== Specified ==",
"<specifiedColumns>",
"",
"== Existing ==",
"<existingColumns>",
""
],
"sqlState" : "42000"
},
"DELTA_CREATE_TABLE_WITH_DIFFERENT_PROPERTY" : {
"message" : [
"The specified properties do not match the existing properties at <path>.",
"",
"== Specified ==",
"<specificiedProperties>",
"",
"== Existing ==",
"<existingProperties>",
""
],
"sqlState" : "42000"
},
"DELTA_CREATE_TABLE_WITH_NON_EMPTY_LOCATION" : {
"message" : [
"Cannot create table ('<tableId>'). The associated location ('<tableLocation>') is not empty but it's not a Delta table"
],
"sqlState" : "42000"
},
"DELTA_DATA_CHANGE_FALSE" : {
"message" : [
"Cannot change table metadata because the 'dataChange' option is set to false. Attempted operation: '<op>'."
],
"sqlState" : "42000"
},
"DELTA_DROP_COLUMN_AT_INDEX_LESS_THAN_ZERO" : {
"message" : [
"Index <columnIndex> to drop column is lower than 0"
],
"sqlState" : "42000"
},
"DELTA_DUPLICATE_COLUMNS_FOUND" : {
"message" : [
"Found duplicate column(s) <coltype>: <duplicateCols>"
],
"sqlState" : "42000"
},
"DELTA_DUPLICATE_COLUMNS_ON_INSERT" : {
"message" : [
"Duplicate column names in INSERT clause"
],
"sqlState" : "42000"
},
"DELTA_DUPLICATE_COLUMNS_ON_UPDATE_TABLE" : {
"message" : [
"<message>\nPlease remove duplicate columns before you update your table."
],
"sqlState" : "42000"
},
"DELTA_EMPTY_DATA" : {
"message" : [
"Data used in creating the Delta table doesn't have any columns."
],
"sqlState" : "42000"
},
"DELTA_EMPTY_DIRECTORY" : {
"message" : [
"No file found in the directory: <directory>."
],
"sqlState" : "25000"
},
"DELTA_EXCEED_CHAR_VARCHAR_LIMIT" : {
"message" : [
"Exceeds char/varchar type length limitation. Failed check: <expr>."
],
"sqlState" : "22026"
},
"DELTA_EXPRESSIONS_NOT_FOUND_IN_GENERATED_COLUMN" : {
"message" : [
"Cannot find the expressions in the generated column <columnName>"
],
"sqlState" : "42000"
},
"DELTA_EXTRACT_REFERENCES_FIELD_NOT_FOUND" : {
"message" : [
"Field <fieldName> could not be found when extracting references."
],
"sqlState" : "22000"
},
"DELTA_FAILED_CAST_PARTITION_VALUE" : {
"message" : [
"Failed to cast partition value `<value>` to <dataType>"
],
"sqlState" : "22000"
},
"DELTA_FAILED_FIND_ATTRIBUTE_IN_OUTPUT_COLLUMNS" : {
"message" : [
"Could not find <newAttributeName> among the existing target output <targetOutputCollumns>"
],
"sqlState" : "22000"
},
"DELTA_FAILED_INFER_SCHEMA" : {
"message" : [
"Failed to infer schema from the given list of files."
],
"sqlState" : "22000"
},
"DELTA_FAILED_MERGE_SCHEMA_FILE" : {
"message" : [
"Failed to merge schema of file <file>:",
"<schema>"
],
"sqlState" : "42000"
},
"DELTA_FAILED_READ_FILE_FOOTER" : {
"message" : [
"Could not read footer for file: <currentFile>"
],
"sqlState" : "42000"
},
"DELTA_FAILED_RECOGNIZE_PREDICATE" : {
"message" : [
"Cannot recognize the predicate '<predicate>'"
],
"sqlState" : "42000"
},
"DELTA_FAILED_SCAN_WITH_HISTORICAL_VERSION" : {
"message" : [
"Expect a full scan of the latest version of the Delta source, but found a historical scan of version <historicalVersion>"
],
"sqlState" : "42000"
},
"DELTA_FAILED_TO_MERGE_FIELDS" : {
"message" : [
"Failed to merge fields '<field>' and '<fieldRoot>'. <fieldChild>"
],
"sqlState" : "22005"
},
"DELTA_FAIL_RELATIVIZE_PATH" : {
"message" : [
"Failed to relativize the path (<path>). This can happen when absolute paths make",
"it into the transaction log, which start with the scheme",
"s3://, wasbs:// or adls://.",
"",
"If this table is NOT USED IN PRODUCTION, you can set the SQL configuration",
"<config> to true.",
"Using this SQL configuration could lead to accidental data loss, therefore we do",
"not recommend the use of this flag unless this is for testing purposes."
],
"sqlState" : "42000"
},
"DELTA_FILE_ALREADY_EXISTS" : {
"message" : [
"Existing file path <path>"
],
"sqlState" : "22000"
},
"DELTA_FILE_LIST_AND_PATTERN_STRING_CONFLICT" : {
"message" : [
"Cannot specify both file list and pattern string."
]
},
"DELTA_FILE_NOT_FOUND" : {
"message" : [
"File path <path>"
],
"sqlState" : "22000"
},
"DELTA_FILE_OR_DIR_NOT_FOUND" : {
"message" : [
"No such file or directory: <path>"
],
"sqlState" : "22000"
},
"DELTA_FILE_TO_OVERWRITE_NOT_FOUND" : {
"message" : [
"File (<path>) to be rewritten not found among candidate files:\n<pathList>"
],
"sqlState" : "42000"
},
"DELTA_FOUND_MAP_TYPE_COLUMN" : {
"message" : [
"A MapType was found. In order to access the key or value of a MapType, specify one",
"of:",
"<key> or",
"<value>",
"followed by the name of the column (only if that column is a struct type).",
"e.g. mymap.key.mykey",
"If the column is a basic type, mymap.key or mymap.value is sufficient."
],
"sqlState" : "42000"
},
"DELTA_GENERATED_COLUMNS_DATA_TYPE_MISMATCH" : {
"message" : [
"Column <columnName> is a generated column or a column used by a generated column. The data type is <columnType>. It doesn't accept data type <dataType>"
],
"sqlState" : "2200G"
},
"DELTA_GENERATED_COLUMNS_EXPR_TYPE_MISMATCH" : {
"message" : [
"The expression type of the generated column <columnName> is <expressionType>, but the column type is <columnType>"
],
"sqlState" : "2200G"
},
"DELTA_GENERATED_COLUMN_UPDATE_TYPE_MISMATCH" : {
"message" : [
"Column <currentName> is a generated column or a column used by a generated column. The data type is <currentDataType> and cannot be converted to data type <updateDataType>"
],
"sqlState" : "42000"
},
"DELTA_ILLEGAL_FILE_FOUND" : {
"message" : [
"Illegal files found in a dataChange = false transaction. Files: <file>"
]
},
"DELTA_ILLEGAL_USAGE" : {
"message" : [
"The usage of <option> is not allowed when <operation> a Delta table."
],
"sqlState" : "0A000"
},
"DELTA_INCONSISTENT_LOGSTORE_CONFS" : {
"message" : [
"(<setKeys>) cannot be set to different values. Please only set one of them, or set them to the same value."
],
"sqlState" : "42000"
},
"DELTA_INCORRECT_ARRAY_ACCESS" : {
"message" : [
"Incorrectly accessing an ArrayType. Use arrayname.element.elementname position to",
"add to an array."
],
"sqlState" : "42000"
},
"DELTA_INCORRECT_ARRAY_ACCESS_BY_NAME" : {
"message" : [
"An ArrayType was found. In order to access elements of an ArrayType, specify",
"<rightName>",
"Instead of <wrongName>",
""
],
"sqlState" : "42000"
},
"DELTA_INCORRECT_LOG_STORE_IMPLEMENTATION" : {
"message" : [
"The error typically occurs when the default LogStore implementation, that",
"is, HDFSLogStore, is used to write into a Delta table on a non-HDFS storage system.",
"In order to get the transactional ACID guarantees on table updates, you have to use the",
"correct implementation of LogStore that is appropriate for your storage system.",
"See <docLink> for details.",
""
],
"sqlState" : "0A000"
},
"DELTA_INDEX_LARGER_OR_EQUAL_THAN_STRUCT" : {
"message" : [
"Index <index> to drop column equals to or is larger than struct length: <length>"
],
"sqlState" : "2F000"
},
"DELTA_INDEX_LARGER_THAN_STRUCT" : {
"message" : [
"Index <index> to add column <columnName> is larger than struct length: <length>"
],
"sqlState" : "2F000"
},
"DELTA_INSERT_COLUMN_ARITY_MISMATCH" : {
"message" : [
"Cannot write to '<tableName>', <columnName>; target table has <numColumns> column(s) but the inserted data has <insertColumns> column(s)"
],
"sqlState" : "22000"
},
"DELTA_INSERT_COLUMN_MISMATCH" : {
"message" : [
"Column <columnName> is not specified in INSERT"
],
"sqlState" : "42000"
},
"DELTA_INVALID_CALENDAR_INTERVAL_EMPTY" : {
"message" : [
"Interval cannot be null or blank."
],
"sqlState" : "42000"
},
"DELTA_INVALID_CDC_RANGE" : {
"message" : [
"CDC range from start <start> to end <end> was invalid. End cannot be before start."
],
"sqlState" : "42000"
},
"DELTA_INVALID_CHARACTERS_IN_COLUMN_NAME" : {
"message" : [
"Attribute name \"<columnName>\" contains invalid character(s) among \" ,;{}()\\\\n\\\\t=\". Please use alias to rename it."
],
"sqlState" : "42000"
},
"DELTA_INVALID_CHARACTERS_IN_COLUMN_NAMES" : {
"message" : [
"Found invalid character(s) among ' ,;{}()\\n\\t=' in the column names of your schema. <advice>"
],
"sqlState" : "0A000"
},
"DELTA_INVALID_COMMITTED_VERSION" : {
"message" : [
"The committed version is <committedVersion> but the current version is <currentVersion>."
],
"sqlState" : "25000"
},
"DELTA_INVALID_FORMAT_FROM_SOURCE_VERSION" : {
"message" : [
"Unsupported format. Expected version should be smaller than or equal to <expectedVersion> but was <realVersion>. Please upgrade to newer version of Delta."
],
"sqlState" : "42000"
},
"DELTA_INVALID_GENERATED_COLUMN_FORMAT" : {
"message" : [
"Generated columns are only supported by Delta"
],
"sqlState" : "42000"
},
"DELTA_INVALID_GENERATED_COLUMN_REFERENCES" : {
"message" : [
"A generated column cannot use a non-existent column or another generated column"
],
"sqlState" : "42000"
},
"DELTA_INVALID_IDEMPOTENT_WRITES_OPTIONS" : {
"message" : [
"Invalid options for idempotent Dataframe writes: <reason>"
],
"sqlState" : "42000"
},
"DELTA_INVALID_INTERVAL" : {
"message" : [
"<interval> is not a valid INTERVAL."
],
"sqlState" : "42000"
},
"DELTA_INVALID_ISOLATION_LEVEL" : {
"message" : [
"invalid isolation level '<isolationLevel>'"
],
"sqlState" : "25000"
},
"DELTA_INVALID_LOGSTORE_CONF" : {
"message" : [
"(`<classConfig>`) and (`<schemeConfig>`) cannot be set at the same time. Please set only one group of them."
],
"sqlState" : "42000"
},
"DELTA_INVALID_MANAGED_TABLE_SYNTAX_NO_SCHEMA" : {
"message" : [
"",
"You are trying to create a managed table <tableName>",
"using Delta, but the schema is not specified.",
"",
"To learn more about Delta, see <docLink>"
],
"sqlState" : "42000"
},
"DELTA_INVALID_PARTITIONING_SCHEMA" : {
"message" : [
"",
"The AddFile contains partitioning schema different from the table's partitioning schema",
"expected: <neededPartitioning>",
"actual: <specifiedPartitioning>",
"To disable this check set <config> to \"false\""
],
"sqlState" : "42000"
},
"DELTA_INVALID_PARTITION_COLUMN" : {
"message" : [
"<columnName> is not a valid partition column in table <tableName>."
],
"sqlState" : "22000"
},
"DELTA_INVALID_PARTITION_COLUMN_NAME" : {
"message" : [
"Found partition columns having invalid character(s) among \" ,;{}()\n\t=\". Please change the name to your partition columns."
],
"sqlState" : "22000"
},
"DELTA_INVALID_PARTITION_COLUMN_TYPE" : {
"message" : [
"Using column <name> of type <dataType> as a partition column is not supported."
],
"sqlState" : "22000"
},
"DELTA_INVALID_PARTITION_PATH" : {
"message" : [
"A partition path fragment should be the form like `part1=foo/part2=bar`. The partition path: <path>"
],
"sqlState" : "22000"
},
"DELTA_INVALID_PROTOCOL_DOWNGRADE" : {
"message" : [
"Protocol version cannot be downgraded from <oldProtocol> to <newProtocol>"
],
"sqlState" : "42000"
},
"DELTA_INVALID_SOURCE_VERSION" : {
"message" : [
"sourceVersion(<version>) is invalid"
],
"sqlState" : "22000"
},
"DELTA_INVALID_TIMESTAMP_FORMAT" : {
"message" : [
"The provided timestamp <timestamp> does not match the expected syntax <format>."
],
"sqlState" : "22000"
},
"DELTA_INVALID_V1_TABLE_CALL" : {
"message" : [
"<callVersion> call is not expected with path based <tableVersion>"
],
"sqlState" : "42000"
},
"DELTA_ITERATOR_ALREADY_CLOSED" : {
"message" : [
"Iterator is closed"
],
"sqlState" : "42000"
},
"DELTA_LOG_ALREADY_EXISTS" : {
"message" : [
"A Delta log already exists at <path>"
],
"sqlState" : "42000"
},
"DELTA_MAX_ARRAY_SIZE_EXCEEDED" : {
"message" : [
"Please use a limit less than Int.MaxValue - 8."
],
"sqlState" : "42000"
},
"DELTA_MAX_COMMIT_RETRIES_EXCEEDED" : {
"message" : [
"This commit has failed as it has been tried <numAttempts> times but did not succeed.",
"This can be caused by the Delta table being committed continuously by many concurrent",
"commits.",
"",
"Commit started at version: <startVersion>",
"Commit failed at version: <failVersion>",
"Number of actions attempted to commit: <numActions>",
"Total time spent attempting this commit: <timeSpent> ms"
],
"sqlState" : "40000"
},
"DELTA_MERGE_INCOMPATIBLE_DECIMAL_TYPE" : {
"message" : [
"Failed to merge decimal types with incompatible <decimalRanges>"
],
"sqlState" : "22005"
},
"DELTA_MERGE_INVALID_WHEN_NOT_MATCHED_CLAUSE" : {
"message" : [
"<clause> clauses cannot be part of the WHEN NOT MATCHED clause in MERGE INTO."
],
"sqlState" : "42000"
},
"DELTA_MERGE_MISSING_WHEN" : {
"message" : [
"There must be at least one WHEN clause in a MERGE statement."
],
"sqlState" : "42000"
},
"DELTA_MERGE_UNEXPECTED_ASSIGNMENT_KEY" : {
"message" : [
"Unexpected assignment key: %s - %s"
],
"sqlState" : "22005"
},
"DELTA_METADATA_ABSENT" : {
"message" : [
"Couldn't find Metadata while committing the first version of the Delta table. To disable",
"this check set <deltaCommitValidationEnabled> to \"false\"",
""
],
"sqlState" : "42000"
},
"DELTA_MISSING_CHANGE_DATA" : {
"message" : [
"Error getting change data for range [<startVersion> , <endVersion>] as change data was not",
"recorded for version [<version>]. If you've enabled change data feed on this table,",
"use `DESCRIBE HISTORY` to see when it was first enabled.",
"Otherwise, to start recording change data, use `ALTER TABLE table_name SET TBLPROPERTIES",
"(<key>=true)`."
],
"sqlState" : "42000"
},
"DELTA_MISSING_COLUMN" : {
"message" : [
"Cannot find <columName> in table columns: <columnList>"
],
"sqlState" : "42000"
},
"DELTA_MISSING_DELTA_TABLE" : {
"message" : [
"<tableName> is not a Delta table."
],
"sqlState" : "42000"
},
"DELTA_MISSING_FILES_UNEXPECTED_VERSION" : {
"message" : [
"The stream from your Delta table was expecting process data from version <startVersion>,",
"but the earliest available version in the _delta_log directory is <earliestVersion>. The files",
"in the transaction log may have been deleted due to log cleanup. In order to avoid losing",
"data, we recommend that you restart your stream with a new checkpoint location and to",
"increase your delta.logRetentionDuration setting, if you have explicitly set it below 30",
"days.",
"If you would like to ignore the missed data and continue your stream from where it left",
"off, you can set the .option(\"<option>\", \"false\") as part",
"of your readStream statement."
],
"sqlState" : "42000"
},
"DELTA_MISSING_NOT_NULL_COLUMN_VALUE" : {
"message" : [
"Column <columnName>, which has a NOT NULL constraint, is missing from the data being written into the table."
],
"sqlState" : "42000"
},
"DELTA_MISSING_PARTITION_COLUMN" : {
"message" : [
"Partition column `<columnName>` not found in schema <columnList>"
],
"sqlState" : "42000"
},
"DELTA_MISSING_PART_FILES" : {
"message" : [
"Couldn't find all part files of the checkpoint version: <version>"
],
"sqlState" : "42000"
},
"DELTA_MISSING_PROVIDER_FOR_CONVERT" : {
"message" : [
"CONVERT TO DELTA only supports parquet tables. Please rewrite your target as parquet.`<path>` if it's a parquet directory."
],
"sqlState" : "42000"
},
"DELTA_MISSING_SET_COLUMN" : {
"message" : [
"SET column <columnName> not found given columns: <columnList>."
],
"sqlState" : "42000"
},
"DELTA_MODE_NOT_SUPPORTED" : {
"message" : [
"Specified mode '<mode>' is not supported. Supported modes are: <supportedModes>"
],
"sqlState" : "0A000"
},
"DELTA_MULTIPLE_CDC_BOUNDARY" : {
"message" : [
"Multiple <startingOrEnding> arguments provided for CDC read. Please provide one of either <startingOrEnding>Timestamp or <startingOrEnding>Version."
],
"sqlState" : "42000"
},
"DELTA_MULTIPLE_CONF_FOR_SINGLE_COLUMN_IN_BLOOM_FILTER" : {
"message" : [
"Multiple bloom filter index configurations passed to command for column: <columnName>"
],
"sqlState" : "0A000"
},
"DELTA_MULTIPLE_SOURCE_ROW_MATCHING_TARGET_ROW_IN_MERGE" : {
"message" : [
"Cannot perform Merge as multiple source rows matched and attempted to modify the same",
"target row in the Delta table in possibly conflicting ways. By SQL semantics of Merge,",
"when multiple source rows match on the same target row, the result may be ambiguous",
"as it is unclear which source row should be used to update or delete the matching",
"target row. You can preprocess the source table to eliminate the possibility of",
"multiple matches. Please refer to",
"<usageReference>"
],
"sqlState" : "21000"
},
"DELTA_NESTED_FIELDS_NEED_RENAME" : {
"message" : [
"Nested fields need renaming to avoid data loss. Fields:\n<fields>.\nOriginal schema:\n<schema>"
],
"sqlState" : "22000"
},
"DELTA_NESTED_NOT_NULL_CONSTRAINT" : {
"message" : [
"The <nestType> type of the field <parent> contains a NOT NULL constraint. Delta does not support NOT NULL constraints nested within arrays or maps. To suppress this error and silently ignore the specified constraints, set <configKey> = true.",
"Parsed <nestType> type:",
"<nestedPrettyJson>"
],
"sqlState" : "42000"
},
"DELTA_NEW_CHECK_CONSTRAINT_VIOLATION" : {
"message" : [
"<numRows> rows in <tableName> violate the new CHECK constraint (<checkConstraint>)"
],
"sqlState" : "42000"
},
"DELTA_NEW_NOT_NULL_VIOLATION" : {
"message" : [
"<numRows> rows in <tableName> violate the new NOT NULL constraint on <colName>"
],
"sqlState" : "23001"