Object tenantValue = WallProvider.getTenantValue();
if (tenantValue instanceof Number) {
right = new SQLNumberExpr((Number) tenantValue);
} else if (tenantValue instanceof String) {
right = new SQLCharExpr((String) tenantValue);
} else {
throw new IllegalStateException("tenant value not support type " + tenantValue);
}
SQLBinaryOpExpr tenantCondition = new SQLBinaryOpExpr(left, SQLBinaryOperator.Equality, right);