| --! qt:dataset:part | |
| -- =ALL is not allowed and initially triggers a CalciteSubquerySemanticException | |
| set hive.cbo.fallback.strategy=CONSERVATIVE; | |
| -- In CONSERVATIVE mode CalciteSubquerySemanticException is fatal | |
| -- and should be present in the error message | |
| explain select * from part where p_type = ALL(select max(p_type) from part); |