You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "viirya (via GitHub)" <gi...@apache.org> on 2026/09/28 20:22:45 UTC

[PR] test: consolidate partition metrics tests and clarify snapshot docs [datafusion]

viirya opened a new pull request, #25848:
URL: https://github.com/apache/datafusion/pull/25848

   ## Which issue does this PR close?
   
   Follow-up to #25583.
   
   ## Rationale for this change
   
   Address the remaining review feedback from #25583: clarify snapshot documentation and avoid building a separate integration-test binary for partition metrics.
   
   ## What changes are included in this PR?
   
   - Move the shared-plan metrics test and fixture into `core_integration`.
   - Move registry-retention details to `Snapshot` and document the `flat` iteration cache.
   
   ## What is the testing strategy for this PR?
   
   The existing shared-plan metrics test passes under `core_integration`. Workspace extended tests, clippy, and formatting checks pass.
   
   ## Are there any user-facing changes?
   
   No behavior or API changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] test: consolidate partition metrics tests and clarify snapshot docs [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #25848:
URL: https://github.com/apache/datafusion/pull/25848


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] test: consolidate partition metrics tests and clarify snapshot docs [datafusion]

Posted by "viirya (via GitHub)" <gi...@apache.org>.
viirya commented on PR #25848:
URL: https://github.com/apache/datafusion/pull/25848#issuecomment-5936418523

   Thank you @alamb !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] test: consolidate partition metrics tests and clarify snapshot docs [datafusion]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #25848:
URL: https://github.com/apache/datafusion/pull/25848#issuecomment-5878360178

   ## [Codecov](https://app.codecov.io/gh/apache/datafusion/pull/25848?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 82.56%. Comparing base ([`146348b`](https://app.codecov.io/gh/apache/datafusion/commit/146348b8137ef66056638e80c7c8cad34c6a9def?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`8444604`](https://app.codecov.io/gh/apache/datafusion/commit/84446049ffd2f45f3ffb38d1236f8877b31fd27c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 2 commits behind head on main.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@            Coverage Diff             @@
   ##             main   #25848      +/-   ##
   ==========================================
   - Coverage   82.57%   82.56%   -0.01%     
   ==========================================
     Files        1142     1142              
     Lines      440728   440728              
     Branches   440728   440728              
   ==========================================
   - Hits       363919   363909      -10     
   - Misses      54815    54821       +6     
   - Partials    21994    21998       +4     
   ```
   </details>
   
   [:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/datafusion/pull/25848?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] test: consolidate partition metrics tests and clarify snapshot docs [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #25848:
URL: https://github.com/apache/datafusion/pull/25848#discussion_r4158159893


##########
datafusion/core/tests/metrics/mod.rs:
##########
@@ -15,7 +15,6 @@
 // specific language governing permissions and limitations
 // under the License.
 
-#[path = "metrics/plan.rs"]

Review Comment:
   👍 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org