Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query optimizer improvements #229

Merged
merged 11 commits into from
Jul 28, 2022
Merged

Query optimizer improvements #229

merged 11 commits into from
Jul 28, 2022

Conversation

MarkMpn
Copy link
Owner

@MarkMpn MarkMpn commented Jul 26, 2022

  • Fixed evaluation of expressions CASE value WHEN x THEN y ...
  • Fixed converting queries with nested IN subqueries
  • Prevent ambiguous column errors with IN or EXISTS subqueries
  • Simplified FetchXML generated for IN subqueries
  • Fixed scalar subqueries without additional filter criteria
  • Use merge join instead of hash join for more join types
  • Spool inner source of nested loop joins for improved performance
  • Fixed metadata cache error for CRM versions before 8
  • Fixed null values for aggregates

@MarkMpn MarkMpn merged commit 2456b44 into master Jul 28, 2022
@MarkMpn MarkMpn deleted the string-lengths branch December 31, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scalar subquery not folded correctly Nested loop join not using table spool
1 participant