break;
// case "query":
// type = OptionValue.OptionType.QUERY;
// break;
default:
throw new ValidationException("Invalid OPTION scope. Scope must be SESSION or SYSTEM.");
}
context.getOptions().setOption(name, (SqlLiteral) value, type);
}else{
throw new ValidationException("Sql options can only be literals.");
}
return DirectPlan.createDirectPlan(context, true, String.format("%s updated.", name));
}