throw new SemanticException(NOT_SUPPORTED, node, "USE statement is not supported");
}
private static SelectItem aliasedYesNoToBoolean(String column, String alias)
{
Expression expression = new IfExpression(
equal(nameReference(column), new StringLiteral("YES")),
BooleanLiteral.TRUE_LITERAL,
BooleanLiteral.FALSE_LITERAL);
return new SingleColumn(expression, alias);
}