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

CTEs #383

Merged
merged 85 commits into from
Nov 24, 2023
Merged

CTEs #383

merged 85 commits into from
Nov 24, 2023

Conversation

MarkMpn
Copy link
Owner

@MarkMpn MarkMpn commented Nov 5, 2023

Implemented Common Table Expressions - fixes #292

  • Non-recursive CTEs expanded to subqueries for compatibility with TDS Endpoint
  • Recursive CTEs converted to hierarchical FetchXML filters where possible

Fixed use of UNION with wildcard columns
Fixed error in nested loop joins with no records from inner source
Check for multi-currency issues when aggregating non-base currency fields
Allow using columns from outer queries in join criteria - fixes #376
Support disconnecting instances from ADS Object Explorer
Added missing files to MarkMpn.Sql4Cds.Engine.FetchXml NuGet package - fixes #377
Handle time zone mismatch for starting bulk delete jobs - fixes #380
Reduce use of custom sorts on merge joins - prefer hash joins when sort cannot be folded to source
Switch FetchXML sort to custom sorting after adding joins that require custom paging
Avoid folding filters to tables in subqueries if the same alias exists in the outer query
Show plugin log more reliably in message output
Do not fold NOT IN queries using an inner join to a left outer join - fixes #382

@MarkMpn MarkMpn linked an issue Nov 17, 2023 that may be closed by this pull request
@MarkMpn MarkMpn linked an issue Nov 18, 2023 that may be closed by this pull request
@MarkMpn MarkMpn linked an issue Nov 21, 2023 that may be closed by this pull request
@MarkMpn MarkMpn merged commit e78ec1a into master Nov 24, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment