-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#36921175 Complex Join Predicate with Subquery Not Possible To Off…
…load to HeatWave (1/2 noclose) Eliminate actual sorting in window specifications if they do not contain references to inner tables; in such cases there is no effective partitioning or ordering and the presence of the outer reference hinders offloading to RAPID. Note that MySQL allows outer references in PARTITION BY and ORDER BY expressions, whereas the standard requires all column references to be inner. This patch does not change this liberal interpretation, but skips the actual sorting in the access path (by skipping the orderings contribution to Window::m_sorting_order unless the ordering is semantically meaningful, i.e. it contains at least one inner reference). Change-Id: I64a00c90d5f37c104e5a375b1d59e415da81d6f2
- Loading branch information
1 parent
4496e7b
commit 8f92347
Showing
8 changed files
with
245 additions
and
30 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
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