aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/string/test/cases/BlockReverseBits.sql
blob: b89064681ae38ecacd274d1fb10aae56a5f15f72 (plain) (blame)
1
2
3
4
5
6
7
PRAGMA UseBlocks;

SELECT
    -- Use explicit comparasion instead of canonization to produce more human readable test input data.
    -- Canonization of binary data produces encoded bytes.
    key,
    String::ReverseBits(subkey) == value FROM Input;