protected StringBuilder appendLastPartIfExists(StringBuilder builder) {
        if (lastPart != null) {
            builder.append(lastPart);
        }
        return builder;
    }
Appends last part of the query if it exists.

@param builder non-null string builder
@return the builder
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseParameterizedQuery.java