Re: [PR] EXECUTE IMMEDIATE SQL support [spark]

2023-12-04 Thread via GitHub
milastdbx commented on code in PR #44093: URL: https://github.com/apache/spark/pull/44093#discussion_r1413975389 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala: ## @@ -3909,6 +3943,11 @@ class AstBuilder extends DataTypeAstBuilder with SQLC

Re: [PR] EXECUTE IMMEDIATE SQL support [spark]

2023-12-02 Thread via GitHub
MaxGekk commented on code in PR #44093: URL: https://github.com/apache/spark/pull/44093#discussion_r1412764471 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/executeImmediate.scala: ## @@ -0,0 +1,130 @@ +/* + * Licensed to the Apache Software Foundation (A

Re: [PR] EXECUTE IMMEDIATE SQL support [spark]

2023-12-01 Thread via GitHub
MaxGekk commented on code in PR #44093: URL: https://github.com/apache/spark/pull/44093#discussion_r1411948049 ## common/utils/src/main/resources/error/error-classes.json: ## @@ -2261,6 +2267,12 @@ }, "sqlState" : "42000" }, + "INVALID_STATEMENT_FOR_EXECUTE_INTO" :

Re: [PR] EXECUTE IMMEDIATE SQL support [spark]

2023-11-30 Thread via GitHub
HyukjinKwon commented on PR #44093: URL: https://github.com/apache/spark/pull/44093#issuecomment-1835143356 Mind filing a JIRA please? -- 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

[PR] EXECUTE IMMEDIATE SQL support [spark]

2023-11-30 Thread via GitHub
milastdbx opened a new pull request, #44093: URL: https://github.com/apache/spark/pull/44093 ### What changes were proposed in this pull request? Introducing new EXECUTE IMMEDIATE syntax to support parameterized queries from within SQL. This API executes query passed as str