1 2 3 4 5 6 7 8
/* custom error: Expected (optional) struct/tuple or variant based on it, but got: Optional<Int32> */ SELECT ( SELECT 1 AS x ).x ;