imback82 commented on a change in pull request #35328: URL: https://github.com/apache/spark/pull/35328#discussion_r792285136
########## File path: core/src/main/resources/error/error-classes.json ########## @@ -89,13 +89,25 @@ "message" : [ "invalid input syntax for type numeric: %s. To return NULL instead, use 'try_cast'. If necessary set %s to false to bypass this error." ], "sqlState" : "42000" }, + "INVALID_LATERAL_JOIN_RELATION" : { + "message" : [ "LATERAL can only be used with subquery." ], + "sqlState" : "42000" Review comment: @MaxGekk What's the best way to deduce the sql state for each error? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org