GROPU_BITMAP_MERGE
Introduction
The GROPU_BITMAP_MERGE
function is used to merge multiple intermediate Bitmap objects and returns the cardinality of the merged result.
Syntax
Parameters
bitmap_state
: An intermediateBITMAP
object, representing the Bitmap state to be merged.
Return Value
The function returns a result of type INT
, representing the cardinality of the merged Bitmap.
Example
Assume there is a table bitmap_column_expr_test2
with a column z
that stores multiple intermediate Bitmap data. The query returns the cardinality of the merged Bitmap:
Notes
- Input Type: Ensure the input
bitmap_state
is of typeBITMAP
. - Performance Optimization: This function is highly efficient for large-scale datasets. However, performance impact should still be considered if the data volume is extremely large.