blob: fb2c43d6369aa152db9f7505e9da6691142d0d09 [file] [log] [blame]
--! qt:dataset:part
-- =ALL is not allowed and initially triggers a CalciteSubquerySemanticException
set hive.cbo.fallback.strategy=NEVER;
-- In NEVER mode we don't retry on CBO failure so CalciteSubquerySemanticException should appear in the error
explain select * from part where p_type = ALL(select max(p_type) from part);