Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix error class
  • Loading branch information
Jonathancui123 committed Jul 12, 2022
commit 2282c5988a21a93230fbed058f85d621ebfe34a4
13 changes: 6 additions & 7 deletions core/src/main/resources/error/error-classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,18 @@
],
"sqlState" : "22005"
},
"CANNOT_INFER_DATE" : {
"message" : [
"Cannot infer date in schema inference when LegacyTimeParserPolicy is \"LEGACY\". ",
"Legacy Date formatter does not support strict date format matching which is required ",
"to avoid inferring timestamps and other non-date entries to date."
]
},
"CANNOT_CHANGE_DECIMAL_PRECISION" : {
"message" : [
"<value> cannot be represented as Decimal(<precision>, <scale>). If necessary set <config> to \"false\" to bypass this error."
],
"sqlState" : "22005"
},
"CANNOT_INFER_DATE" : {
"message" : [
"Cannot infer date in schema inference when LegacyTimeParserPolicy is \"LEGACY\". Legacy Date formatter does not support strict date format matching which is required to avoid inferring timestamps and other non-date entries to date."
],
"sqlState" : "22005"
},
"CANNOT_PARSE_DECIMAL" : {
"message" : [
"Cannot parse decimal"
Expand Down