Gabriel39 opened a new pull request, #70155:
URL: https://github.com/apache/doris/pull/70155

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: #69672, #69723
   
   External ES regression suites fail during setup or retain expectations from 
the previous indexed-value predicate behavior:
   
   - Read the deprecated scanner option through `SELECT 
@@enable_file_scanner_v2`, whose compatibility name remains valid when SHOW 
prefixes deprecated names.
   - On ES 8.3.3, fall back from the specifically unsupported `_source.mode` 
mapping syntax to `enabled:false`, retaining the disabled-source row and alias 
checks. Other HTTP failures remain fatal; supporting ES8 versions still 
exercise the mode syntax.
   - Compare LIKE, REGEXP, NULL and `level` predicates against unfiltered rows 
materialized into internal tables, then update only the affected 
runner-generated golden blocks.
   - Make the date-only source test explicitly use source reads, test midnight 
as the matching value, and retain 08:00 as a negative control.
   - Check that a residual predicate prevents early termination while a safe 
numeric docvalue predicate still permits LIMIT pushdown.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
     - [x] Regression test
     - [ ] Unit Test
     - [x] Manual test
   
   Validation used an existing local build containing the ES source-reader 
changes, with isolated ES 5.6.16, 6.8.23, 7.17.5 and 8.3.3 fixtures:
   
   - All seven newer source suites passed their existing golden and 
independent-query checks.
   - `test_es_query_nereids` and `test_es_query_predicate_correctness` passed 
normal comparison against the final golden files.
   - `test_es_file_scanner_v2` passed as an additional compatibility check.
   - The complete fallback suite also passed against ES 8.11.3, where the mode 
mapping was verified to disable source retrieval.
   - The three older suites completed runner generation with their 
independent-query checks; only relevant generated blocks were selected.
   - `git diff --check` passed.
   
   Validation limitation: normal comparison of the broad `test_es_query` suite 
stops at its unchanged `sql_5_27` complex-array output, whose rendering differs 
in the reused local build. The existing complex-array golden blocks are 
preserved. The changed predicate blocks were generated and checked 
independently; a full comparison with a current master build remains for CI. 
ES9 compatibility is not claimed.
   
   - Behavior changed:
     - [x] No production behavior change; regression fixtures and expectations 
are corrected.
     - [ ] Yes.
   
   - Does this need documentation?
     - [x] No.
     - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to