-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36977: sql: restrict statements that can be used as row sources r=RaduBerinde a=RaduBerinde We currently support all preparable statements as row sources using the `SELECT FROM [ ... ]` syntax. Many of these statements are not really useful here and each one will require work when we deprecate the heuristic planner. This change restricts the set of statements that can be used as row sources to DML statements, SHOW statements, and EXPLAIN. There were no specific tests for this functionality for any of the statements that were removed. If we find that we need any of them, we can add them back on a case-by-case basis. Release note (sql change): Only SELECT, INSERT, UPDATE, UPSERT, DELETE, SHOW, EXPLAIN are supported as data sources using the `SELECT ... FROM [ ... ]` syntax. Informs #34848. Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
5 changed files
with
27 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters