WITH ( SELECT toLowCardinality('a') ) AS bar SELECT bar