dtenedor commented on code in PR #48118:
URL: https://github.com/apache/spark/pull/48118#discussion_r1761178949


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -1821,6 +1821,12 @@
     ],
     "sqlState" : "42704"
   },
+  "INLINE_TABLE_CONTAINS_SCALAR_SUBQUERY" : {

Review Comment:
   @MaxGekk @vladimirg-db actually believe it or not, we have an error class 
dedicated to subquery expression categories where they are not supported 
depending on the location in the query: 
`UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY` [1]. We can use this error class to 
have one source of truth for places to improve Spark to make more types of 
queries with expression subqueries work. 
   
   [1] 
https://github.com/apache/spark/blob/2113f109b8d73cb8deb404664f25bd51308ca809/common/utils/src/main/resources/error/error-conditions.json#L5275



-- 
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]

Reply via email to