Taking the following example:
WITH tbl as ( select 1, 1e2, 1.2e-4, 1.235, null, 0b01, if(1=1, 1, 2) union select 1, 1e2, 1.2e-4, 1.235, null, 0b01, if