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

   Problem Summary:
   Nested search predicates were parsed inconsistently across code paths. 
Queries inside `NESTED(path, ...)` had to repeat the full nested prefix, 
unsupported nested forms were validated late, and normalized field bindings 
could diverge from the field paths pushed down to thrift.
   
   This change centralizes nested field path construction and normalizes child 
predicates against the active nested path during parsing. It applies the same 
validation rules in standard and lucene modes, rejects unsupported nested forms 
earlier, and keeps normalized field bindings aligned with generated thrift 
search params. The added FE tests cover standard mode, lucene mode, invalid 
nested syntax, and thrift serialization of normalized nested fields.
   
   Normalize FE handling of nested search predicates for Variant search DSL. 
Fields inside `NESTED(path, ...)` must now be written relative to the nested 
path, and unsupported forms such as absolute nested field references, bare 
queries, nested `NESTED(...)`, and non-top-level `NESTED` clauses now fail with 
explicit syntax errors.
   
   - Test: Not run in this session (message-only amend; the code change adds FE 
test coverage)
   - Behavior changed: Yes (nested predicates now require relative field 
references inside `NESTED(path, ...)`)
   - Does this need documentation: No


-- 
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