mrhhsg opened a new pull request, #68426:
URL: https://github.com/apache/doris/pull/68426
### What problem does this PR solve?
Issue Number: None
Problem Summary:
`map_agg_v2` accepts IP key types during analysis, but the backend aggregate
factory did not dispatch IPv4 or IPv6 keys. Queries therefore failed at
execution with an unimplemented aggregate function error.
This change adds IPv4 and IPv6 to the backend key-type dispatch and covers
both factory lookup and end-to-end aggregation.
### Release note
Fix `map_agg_v2` with IPv4 and IPv6 keys.
### Check List (For Author)
- Test:
- Unit Test: `./run-be-ut.sh --run
--filter='AggregateFunctionMapAggV2Test.*'`
- Regression test: `./run-regression-test.sh --conf
output/local-regression/regression-conf-10100.groovy --run -d datatype_p0/ip -s
test_map_agg_v2_ip_key`
- Build: `./build.sh --be --fe` with ASAN
- Behavior changed: Yes (map_agg_v2 now supports IPv4 and IPv6 keys)
- 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]