Skip to content

Commit 0304cda

Browse files
authored
CI: Fix main branch CI test failure (#18792)
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #. ## Rationale for this change <!-- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. --> A recently merged PR X changed some output format, and a later merged PR Y is assuming the older format, causing test failure. This PR updates the format to pass the test. (Question: I don't fully understand how the merge queue work, but is there any mechanism in the merge queue to prevent this kind of issue? 🤔 ) ## What changes are included in this PR? <!-- There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR. --> ## Are these changes tested? <!-- We typically require tests for all PRs in order to: 1. Prevent the code from being accidentally broken by subsequent changes 2. Serve as another way to document the expected behavior of the code If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. -->
1 parent a732dc3 commit 0304cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/core/tests/sql/explain_analyze.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ async fn parquet_explain_analyze() {
887887
&formatted,
888888
"row_groups_pruned_statistics=1 total \u{2192} 1 matched"
889889
);
890-
assert_contains!(&formatted, "scan_efficiency_ratio=14% (259/1851)");
890+
assert_contains!(&formatted, "scan_efficiency_ratio=14%");
891891

892892
// The order of metrics is expected to be the same as the actual pruning order
893893
// (file-> row-group -> page)

0 commit comments

Comments
 (0)