61yao opened a new pull request, #10386: URL: https://github.com/apache/pinot/pull/10386
This PR introduces new APIS to transform function 1) getNullBitmap(ProjectionBlock projectionBlock) This will return a null bitmap indicating the null rows in the block after transformation This is needed since sometimes we only need the null info from transformation such as isNull transform 2) Pair<value, RoaringBitmap> transferToxxValueWithNull() All the original transform functions will have an extra API with null bitmap returned as well. This is needed since we don't want to run two transformation to get both null info and value such as caseWhen transform. This PR also adds default implementation for function transform, identifier, and literal. 1) function transform will return null if any of the arg is null 2) identifier will return null if the value is null 3) literal will return null if we pass in null literal. Note that this PR is only API change. It is no-op since caller side hasn't been updated. -- 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]
