Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 0 additions & 5 deletions common/utils/src/main/resources/error/error-conditions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10113,11 +10113,6 @@
"Sinks cannot request distribution and ordering in continuous execution mode."
]
},
"_LEGACY_ERROR_TEMP_2003" : {
"message" : [
"Unsuccessful try to zip maps with <size> unique keys due to exceeding the array size limit <maxRoundedArrayLength>."
]
},
"_LEGACY_ERROR_TEMP_2017" : {
"message" : [
"not resolved."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,10 @@ private[sql] object QueryExecutionErrors extends QueryErrorsBase with ExecutionE
arithmeticOverflowError("Overflow in function conv()", context = context)
}

def mapSizeExceedArraySizeWhenZipMapError(size: Int): SparkRuntimeException = {
new SparkRuntimeException(
errorClass = "_LEGACY_ERROR_TEMP_2003",
messageParameters = Map(
"size" -> size.toString(),
"maxRoundedArrayLength" -> ByteArrayMethods.MAX_ROUNDED_ARRAY_LENGTH.toString()))
def mapSizeExceedArraySizeWhenZipMapError(size: Int): SparkException = {
SparkException.internalError(
s"Unsuccessful try to zip maps with $size unique keys due to exceeding the array size " +
s"limit ${ByteArrayMethods.MAX_ROUNDED_ARRAY_LENGTH}.")
}

def literalTypeUnsupportedError(v: Any): RuntimeException = {
Expand Down