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 @@ -6284,6 +6284,12 @@
},
"sqlState" : "42703"
},
"UNRESOLVED_COLUMN_AMONG_FIELD_NAMES" : {
"message" : [
"Cannot resolve column name \"<colName>\" among (<fieldNames>)."
],
"sqlState" : "42703"
},
"UNRESOLVED_FIELD" : {
"message" : [
"A field with name <fieldName> cannot be resolved with the struct-type column <columnPath>."
Expand Down Expand Up @@ -8150,11 +8156,6 @@
"Invalid bound function '<bound>: there are <argsLen> arguments but <inputTypesLen> parameters returned from 'inputTypes()'."
]
},
"_LEGACY_ERROR_TEMP_1201" : {
"message" : [
"Cannot resolve column name \"<colName>\" among (<fieldNames>)."
]
},
"_LEGACY_ERROR_TEMP_1205" : {
"message" : [
"Expected only partition pruning predicates: <nonPartitionPruningPredicates>."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ private[sql] object QueryCompilationErrors extends QueryErrorsBase with Compilat
def cannotResolveColumnNameAmongAttributesError(
colName: String, fieldNames: String): Throwable = {
new AnalysisException(
errorClass = "_LEGACY_ERROR_TEMP_1201",
errorClass = "UNRESOLVED_COLUMN_AMONG_FIELD_NAMES",
messageParameters = Map(
"colName" -> colName,
"fieldNames" -> fieldNames))
Expand Down