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

Feature request - Add aggregate "LAST" to GroupedTableAppenderResponse #16

Open
zikato opened this issue May 2, 2022 · 1 comment
Open

Comments

@zikato
Copy link

zikato commented May 2, 2022

My use case is that I want to capture a change in plans on readable secondaries. Currently, Query Store doesn't work there (otherwise, I would use it).

I would use one of the several XE events to capture the actual query plan (for example query_plan_profile

and group the same plans by query_plan_hash_signed action.
Since I already detect differences in a plan via the query_plan_hash_signed, I don't need to compare the actual XML file (not even sure XML comparison is permitted) and just want to save its last value.

@spaghettidba
Copy link
Owner

That's an interesting feature. I'll see what I can do. Currently, aggregates are calculated using DataTable.Compute, which doesn't support LAST. It doesn't look like an impossible deal though. Let me have a look

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

No branches or pull requests

2 participants