Skip to content
Open
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
11 changes: 6 additions & 5 deletions common/utils/src/main/resources/error/error-conditions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6586,6 +6586,12 @@
],
"sqlState" : "42K09"
},
"UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY" : {
"message" : [
"Unexpected operator <op> in correlated subquery<pos>."
],
"sqlState" : "0A000"
},
"UNEXPECTED_POSITIONAL_ARGUMENT" : {
"message" : [
"Cannot invoke routine <routineName> because it contains positional argument(s) following the named argument assigned to <parameterName>; please rearrange them so the positional arguments come first and then retry the query again."
Expand Down Expand Up @@ -8945,11 +8951,6 @@
"Failed to convert value <value> (class of <cls>) with the type of <dataType> to JSON."
]
},
"_LEGACY_ERROR_TEMP_2027" : {
"message" : [
"Unexpected operator <op> in correlated subquery<pos>."
]
},
"_LEGACY_ERROR_TEMP_2028" : {
"message" : [
"This line should be unreachable<err>."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ private[sql] object QueryExecutionErrors extends QueryErrorsBase with ExecutionE
def unexpectedOperatorInCorrelatedSubquery(
op: LogicalPlan, pos: String = ""): SparkRuntimeException = {
new SparkRuntimeException(
errorClass = "_LEGACY_ERROR_TEMP_2027",
errorClass = "UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY",
messageParameters = Map("op" -> op.toString(), "pos" -> pos))
}

Expand Down