heguanhui opened a new issue, #64184:
URL: https://github.com/apache/doris/issues/64184

   ### 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
   
   master (trunk)
   
   ### What's Wrong?
   
   The BE unit test `ColumnComplexTest.GetDataAtTest` fails with the following 
error:
   
   ```
   be/test/core/block/column_complex_test.cpp:79: Failure
   Expected equality of these values:
     column_bitmap->get_data_at(0)
       Which is: 
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�q�PV\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
     column_bitmap_verify->get_data_at(0)
       Which is: 
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�q�PV\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�
        QV\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
   ```
   
   The `get_data_at()` method for `ColumnBitmap`, `ColumnHll`, and 
`ColumnQuantileState` returns raw binary data that includes uninitialized 
padding bytes, causing comparison failures even when the actual data values are 
equal.
   
   ### What You Expected?
   
   The test should pass — the bitmap/hll/quantile_state column data should 
compare equal when the logical values are the same.
   
   ### How to Reproduce?
   
   Run the BE unit test:
   ```bash
   bash run-be-ut.sh --run --filter=ColumnComplexTest.GetDataAtTest
   ```
   
   ### 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]

Reply via email to