Repository navigation
ORC-1475: [C++] ConvertColumnReader.TestConvertNumericToStringVariant fails when compiled with unsigned char - #1579
Conversation
|
+1 Thanks @ffacs |
) ### What changes were proposed in this pull request? Fix the failure of ConvertColumnReader.TestConvertNumericToStringVariant when char is unsigned. ### Why are the changes needed? The UT fails when compiled with unsigned char. ### How was this patch tested? The UT is passed when compiled both with and without the flag -funsigned-char.
|
Please don't forget to set |
|
BTW, @ffacs and all.
|
|
Thank you, @ffacs , @wgtmac , @mystic-lama , @guiyanakuang . As a release manager, I have one question because this is reported during RC0 vote like the following. I'm wondering how we can reproduce this failure in Docker testing because it was reported in the above via |
|
gcc/clang uses signed-char by default on most architectures. But on ARM the default is unsigned-char. I suspect this is the difference. |
|
According to @wgtmac 's comment, #1582 (comment).
I reproduced it on M1 Max. Previously, I ran Docker tests on old Intel Mac while I'm running UTs in M1 Max. So I missed the difference. Thank you, @wgtmac . |
|
This is the way I reproduced. |
Thank you for the reminder! I've noted it . |
|
@dongjoon-hyun I also found the issue during release validation on M1 |
|
To @mystic-lama , of course, ORC-1475 is based on your initial report on dev@orc. We appreciated your contribution (testing and reporting).
What I did here is to reproduce your initial report as a part of PR review and validation . :) |
) ### What changes were proposed in this pull request? Fix the failure of ConvertColumnReader.TestConvertNumericToStringVariant when char is unsigned. ### Why are the changes needed? The UT fails when compiled with unsigned char. ### How was this patch tested? The UT is passed when compiled both with and without the flag -funsigned-char.
What changes were proposed in this pull request?
Fix the failure of ConvertColumnReader.TestConvertNumericToStringVariant when char is unsigned.
Why are the changes needed?
The UT fails when compiled with unsigned char.
How was this patch tested?
The UT is passed when compiled both with and without the flag -funsigned-char.