MaxGekk commented on code in PR #38436:
URL: https://github.com/apache/spark/pull/38436#discussion_r1008893904
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -4339,5 +4339,170 @@
"message" : [
"Drop namespace restrict is not supported"
]
+ },
+ "_LEGACY_ERROR_TEMP_2300" : {
+ "message" : [
+ "The number of lambda function arguments '<namesSize>' does not match
the number of arguments expected by the higher order function '<argInfoSize>'."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2301" : {
+ "message" : [
+ "Lambda function arguments should not have names that are semantically
the same."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2302" : {
+ "message" : [
+ "'<name>' does not support more than one sources"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2303" : {
+ "message" : [
+ "incompatible types found in column <name> for inline table"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2304" : {
+ "message" : [
+ "cannot evaluate expression <sqlExpr> in inline table definition"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2305" : {
+ "message" : [
+ "expected <numCols> columns but found <rowSize> columns in row <ri>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2306" : {
+ "message" : [
+ "A lambda function should only be used in a higher order function.
However, its class is <class>, which is not a higher order function."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2307" : {
+ "message" : [
+ "Number of given aliases does not match number of output columns.
Function name: <funcName>; number of aliases: <aliasesNum>; number of output
columns: <outColsNum>."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2308" : {
+ "message" : [
+ "could not resolve `<name>` to a table-valued function"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2309" : {
+ "message" : [
+ "cannot resolve <sqlExpr> in MERGE command given columns [<cols>]"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2310" : {
+ "message" : [
+ "'writeStream' can be called only on streaming Dataset/DataFrame"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2311" : {
+ "message" : [
+ "'writeTo' can not be called on streaming Dataset/DataFrame"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2312" : {
+ "message" : [
+ "'write' can not be called on streaming Dataset/DataFrame"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2313" : {
+ "message" : [
+ "Hint not found: <name>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2314" : {
+ "message" : [
+ "cannot resolve '<sqlExpr>' due to argument data type mismatch: <msg>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2315" : {
+ "message" : [
+ "cannot resolve '<sqlExpr>' due to data type mismatch: <msg><hint>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2316" : {
+ "message" : [
+ "observed metrics should be named: <operator>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2317" : {
+ "message" : [
+ "window expressions are not allowed in observed metrics, but found:
<sqlExpr>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2318" : {
Review Comment:
Will merge later.
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -4339,5 +4339,170 @@
"message" : [
"Drop namespace restrict is not supported"
]
+ },
+ "_LEGACY_ERROR_TEMP_2300" : {
+ "message" : [
+ "The number of lambda function arguments '<namesSize>' does not match
the number of arguments expected by the higher order function '<argInfoSize>'."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2301" : {
+ "message" : [
+ "Lambda function arguments should not have names that are semantically
the same."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2302" : {
+ "message" : [
+ "'<name>' does not support more than one sources"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2303" : {
+ "message" : [
+ "incompatible types found in column <name> for inline table"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2304" : {
+ "message" : [
+ "cannot evaluate expression <sqlExpr> in inline table definition"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2305" : {
+ "message" : [
+ "expected <numCols> columns but found <rowSize> columns in row <ri>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2306" : {
+ "message" : [
+ "A lambda function should only be used in a higher order function.
However, its class is <class>, which is not a higher order function."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2307" : {
+ "message" : [
+ "Number of given aliases does not match number of output columns.
Function name: <funcName>; number of aliases: <aliasesNum>; number of output
columns: <outColsNum>."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2308" : {
+ "message" : [
+ "could not resolve `<name>` to a table-valued function"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2309" : {
+ "message" : [
+ "cannot resolve <sqlExpr> in MERGE command given columns [<cols>]"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_2310" : {
Review Comment:
Yep, later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]