xiaoDjun opened a new issue, #17539: URL: https://github.com/apache/doris/issues/17539
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 1.1.3-rc02 ### What's Wrong? When using the UDF in hive to get a doris bitmap representation of a column (e.g. bitmap_union, to_bitmap), an NPE occurs if the submitted mapreduce job only has map task, no reduce task. The exception stack is as below:  This is because in BitmapUnionUDAF/ToBitmapUDAF, the `Mode` should be `Mode.COMPLETE`, so the `BinaryObjectInspector inputOI` will not be initiated here:  ### What You Expected? run successfully and get doris representation bitmap result. ### How to Reproduce? e.g. creating as temporary function, query and run with only map task, no reduce task ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
