Skip to content

branch-4.0: [fix](test) fix /nereids_syntax_p1/mv/aggregate/agg_sync_mv.groovy#64974

Merged
morningman merged 1 commit into
apache:branch-4.0from
morningman:40-fix-agg_sync_mv
Jun 30, 2026
Merged

branch-4.0: [fix](test) fix /nereids_syntax_p1/mv/aggregate/agg_sync_mv.groovy#64974
morningman merged 1 commit into
apache:branch-4.0from
morningman:40-fix-agg_sync_mv

Conversation

@morningman

Copy link
Copy Markdown
Contributor

No description provided.

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@morningman

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added approved Indicates a PR has been approved by one committer. reviewed labels Jun 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@morningman morningman merged commit 78258f9 into apache:branch-4.0 Jun 30, 2026
29 of 32 checks passed
hello-stephen pushed a commit that referenced this pull request Jul 2, 2026
#65133)

## Proposed changes

Fix the chronically-failing P1 regression test
`nereids_syntax_p1/mv/aggregate/agg_sync_mv`, which fails in every
recent branch-4.0 CI run.

### Root cause

The second `streamLoad` block still pointed at the pre-move location
after #52242 moved the data file `agg_mv_test.dat` into the `aggregate/`
subdirectory (and added a correct initial load block):

- `db "regression_test_nereids_syntax_p1_mv"` — missing the `_aggregate`
suffix; no test creates this database.
- `file "../agg_mv_test.dat"` — the `../` resolves to
`data/nereids_syntax_p1/mv/agg_mv_test.dat`, which does not exist (the
file lives under `.../mv/aggregate/`).

The missing data file makes the stream load return an empty body, which
`StreamLoadAction` swallows (`streamLoadToBe` catches the exception and
returns `null`) and later surfaces as the misleading
`java.lang.IllegalArgumentException: Text must not be null or empty`
from `JsonSlurper.parseText`.

This was masked by an earlier failure at `mv_sync50` (duplicate internal
column name `__variance_samp_1`); once #64974 fixed that, the test
progressed to this block and this stale-path bug became the active
failure.

### Fix

Align the second load block with the working initial load block (lines
114-130):

- `db` → `regression_test_nereids_syntax_p1_mv_aggregate`
- `file` → `agg_mv_test.dat`

Test-only change.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants