eldenmoon commented on PR #70359:
URL: https://github.com/apache/doris/pull/70359#issuecomment-6703594059
Local validation on a 4.2 FE+BE build:
- BE red/green: before this commit, `WHERE CAST(v AS INT) IS NULL` and `<=>
NULL` return no rows while the projection returns `0,1,1`; after it, both
return the rows whose cast result is NULL and `IS NOT NULL` returns the other
row.
- Regression locally: `test_variant_cast_isnull_pushdown` (new),
`test_variant_cast` (`cast.groovy`) and `test_variant_cast_strict_mode` all
pass.
- The 4.1-only `test_variant_cast_nullable` from #70363 is intentionally not
used here: `CAST('{"a":1}' AS INT)` is 0 on 4.1 and NULL on 4.2, so that golden
is branch-specific. The new case only uses string/array values, whose cast is
NULL on both branches.
--
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]