Skip to content

Commit 4405843

Browse files
committed
error formatting
1 parent c78c705 commit 4405843

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

common/utils/src/main/resources/error/error-conditions.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,12 +1328,6 @@
13281328
],
13291329
"sqlState" : "42713"
13301330
},
1331-
"DUPLICATE_FLOW_SQL_CONF": {
1332-
"message": [
1333-
"Found duplicate sql conf for dataset '<datasetName>': '<key>' is defined by both '<flowName1>' and '<flowName2>'"
1334-
],
1335-
"sqlState": "42710"
1336-
},
13371331
"DUPLICATED_MAP_KEY" : {
13381332
"message" : [
13391333
"Duplicate map key <key> was found, please check the input data.",
@@ -1384,6 +1378,12 @@
13841378
},
13851379
"sqlState" : "42734"
13861380
},
1381+
"DUPLICATE_FLOW_SQL_CONF" : {
1382+
"message" : [
1383+
"Found duplicate sql conf for dataset '<datasetName>': '<key>' is defined by both '<flowName1>' and '<flowName2>'"
1384+
],
1385+
"sqlState" : "42710"
1386+
},
13871387
"DUPLICATE_KEY" : {
13881388
"message" : [
13891389
"Found duplicate keys <keyColumn>."
@@ -1955,6 +1955,12 @@
19551955
],
19561956
"sqlState" : "42818"
19571957
},
1958+
"INCOMPATIBLE_BATCH_VIEW_READ" : {
1959+
"message" : [
1960+
"View <datasetIdentifier> is not a batch view and must be referenced using read. This check can be disabled by setting Spark conf pipelines.incompatibleViewCheck.enabled = false."
1961+
],
1962+
"sqlState" : "42000"
1963+
},
19581964
"INCOMPATIBLE_COLUMN_TYPE" : {
19591965
"message" : [
19601966
"<operator> can only be performed on tables with compatible column types. The <columnOrdinalNumber> column of the <tableOrdinalNumber> table is <dataType1> type which is not compatible with <dataType2> at the same column of the first table.<hint>."
@@ -2031,17 +2037,11 @@
20312037
],
20322038
"sqlState" : "42613"
20332039
},
2034-
"INCOMPATIBLE_BATCH_VIEW_READ": {
2035-
"message": [
2036-
"View <datasetIdentifier> is not a batch view and must be referenced using read. This check can be disabled by setting Spark conf pipelines.incompatibleViewCheck.enabled = false."
2037-
],
2038-
"sqlState": "42000"
2039-
},
2040-
"INCOMPATIBLE_STREAMING_VIEW_READ": {
2041-
"message": [
2040+
"INCOMPATIBLE_STREAMING_VIEW_READ" : {
2041+
"message" : [
20422042
"View <datasetIdentifier> is a streaming view and must be referenced using readStream. This check can be disabled by setting Spark conf pipelines.incompatibleViewCheck.enabled = false."
20432043
],
2044-
"sqlState": "42000"
2044+
"sqlState" : "42000"
20452045
},
20462046
"INCOMPATIBLE_VIEW_SCHEMA_CHANGE" : {
20472047
"message" : [
@@ -6584,10 +6584,10 @@
65846584
],
65856585
"sqlState" : "P0001"
65866586
},
6587-
"USER_SPECIFIED_AND_INFERRED_SCHEMA_NOT_COMPATIBLE": {
6588-
"message": [
6587+
"USER_SPECIFIED_AND_INFERRED_SCHEMA_NOT_COMPATIBLE" : {
6588+
"message" : [
65896589
"Table '<tableName>' has a user-specified schema that is incompatible with the schema",
6590-
" inferred from its query.",
6590+
"inferred from its query.",
65916591
"<streamingTableHint>",
65926592
"",
65936593
"Declared schema:",
@@ -6596,7 +6596,7 @@
65966596
"Inferred schema:",
65976597
"<inferredDataSchema>"
65986598
],
6599-
"sqlState": "42000"
6599+
"sqlState" : "42000"
66006600
},
66016601
"VARIABLE_ALREADY_EXISTS" : {
66026602
"message" : [

0 commit comments

Comments
 (0)