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

   ## Proposed changes
   
   Backport the fix from apache/doris#63772 to branch-4.1.
   
   This allows MATCH predicates on aliased VARIANT dot subcolumns to pass 
CheckMatchExpression. The branch-4.1 conflict resolution keeps the existing 
root VARIANT MATCH rejection and existing Variant pruning coverage, then adds 
the alias-chain and scan-predicate assertions.
   
   Source context:
   - Original apache/doris PR: apache/doris#63772
   - Original upstream commit: d0cfb946fc93b745b8e1571ec60f401cd927b1cc
   - Picked from selectdb-core backport commit: 
26abcfcdb9a04a3d7244ccad5d17c7bdd7a1dfa9
   
   ## Testing
   
   - `env -u http_proxy -u https_proxy -u HTTP_PROXY -u HTTPS_PROXY -u 
all_proxy -u ALL_PROXY ./run-fe-ut.sh --run 
org.apache.doris.nereids.rules.rewrite.CheckMatchExpressionTest`
   - `env -u http_proxy -u https_proxy -u HTTP_PROXY -u HTTPS_PROXY -u 
all_proxy -u ALL_PROXY ./run-fe-ut.sh --run 
org.apache.doris.nereids.rules.rewrite.VariantPruningLogicTest#testMatchOnDotVariantSubColumnUsesSlotRefInScanPredicate`


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