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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: SHOW CATALOGS passed WHERE expressions to the LIKE pattern 
matcher, so valid predicates failed as invalid patterns. Keep LIKE patterns and 
WHERE expressions separate, then evaluate WHERE against the privilege-filtered 
SHOW rows.
   
   ### Release note
   
   Fix SHOW CATALOGS WHERE filtering.
   
   ### Check List (For Author)
   
   - Test: Unit Test; regression test added
     - Added an FE unit test covering parsing, matching, and non-matching WHERE 
predicates.
     - Added regression coverage to the existing SHOW CATALOG suite.
     - Ran the targeted FE unit test and the full FE build with Checkstyle.
   - Behavior changed: Yes. SHOW CATALOGS WHERE now filters the displayed rows.
   - 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