wuguowei1994 commented on PR #63118:
URL: https://github.com/apache/doris/pull/63118#issuecomment-4469533205

   # Variant Inverted-Index Cast Pushdown Compatibility Rules
   
   The final compatible cast rules for variant inverted-index pushdown are 
intentionally restricted to:
   
   - Exact same type after nullable removal.
   - Integer widening:  `TINYINT -> SMALLINT -> INT -> BIGINT -> LARGEINT`
   - `FLOAT -> DOUBLE`
   - `CHAR/VARCHAR/STRING` compatibility, since the inverted-index string query 
path uses the same byte representation for all string primitive types.
   - ARRAY pushdown only for exact array type matches.
   
   In addition, the query literal is now normalized to the segment storage type 
before building the inverted-index query value, so compatible casts use the 
same encoded representation as the stored index data.
   
   


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