Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Aug 24, 2021

Which issue does this PR close?

Next part #866

Rationale for this change

We want basic understanding of where a plan's time is spent and in what operators. See #866 for more details

What changes are included in this PR?

  1. Instrument SortExec and HashAggregateExec using the API from Add BaselineMetrics, Timestamp metrics, add for CoalescePartitionsExec, rename output_time -> elapsed_compute #909
  2. Tests for same

Are there any user-facing changes?

More fields in EXPLAIN ANALYZE are now filled out

}

#[tokio::test]
async fn explain_analyze_baseline_metrics() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is the basic testing strategy I plan for these baseline metrics

@alamb alamb force-pushed the alamb/annotate_group_and_sort branch from d273884 to 1ea391c Compare August 24, 2021 18:38
@alamb alamb changed the title Add metrics for SortExect + HashExec Add metrics for SortExect + HashAggregateExec Aug 25, 2021
@alamb alamb force-pushed the alamb/annotate_group_and_sort branch from ead2a53 to 9471210 Compare August 26, 2021 12:32
@alamb alamb force-pushed the alamb/annotate_group_and_sort branch from 409bb83 to c7eeb5d Compare August 26, 2021 12:36
@alamb alamb marked this pull request as ready for review August 26, 2021 13:26
@alamb alamb merged commit bef41bc into apache:master Aug 31, 2021
@alamb alamb deleted the alamb/annotate_group_and_sort branch August 31, 2021 11:07
@houqp houqp added the enhancement New feature or request label Nov 6, 2021
H0TB0X420 pushed a commit to H0TB0X420/datafusion that referenced this pull request Oct 7, 2025
…pache#938)

* feat: add `empty` function as alias of array_empty

* fix: correct typo in null_treatment parameter documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants