Skip to content

Commit 612dd81

Browse files
junyuc25junyuc25
authored andcommitted
Add SQL State for the error
1 parent f5b43c2 commit 612dd81

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,12 @@
550550
],
551551
"sqlState" : "42703"
552552
},
553+
"COLUMN_VALUE_IS_NULL" : {
554+
"message" : [
555+
"Value at index <index> is null."
556+
],
557+
"sqlState" : "22000"
558+
},
553559
"COMPARATOR_RETURNS_NULL" : {
554560
"message" : [
555561
"The comparator has returned a NULL for a comparison between <firstValue> and <secondValue>.",
@@ -7045,11 +7051,6 @@
70457051
"Primitive types are not supported."
70467052
]
70477053
},
7048-
"COLUMN_VALUE_IS_NULL" : {
7049-
"message" : [
7050-
"Value at index <index> is null."
7051-
]
7052-
},
70537054
"_LEGACY_ERROR_TEMP_2233" : {
70547055
"message" : [
70557056
"Only Data Sources providing FileFormat are supported: <providingClass>."

0 commit comments

Comments
 (0)