private String getSelectFromStatement(String tableName, List<String> selectFields, List<PredicateInfo> predicateInfoes) {
        String fromClause = String.join(", ", selectFields);
        String predicateClause = predicateInfoes.stream().map(this::buildFilterCondition).collect(Collectors.joining(" AND "));
        String whereClause = buildWhereClause(predicateClause);
        return "SELECT " + fromClause + " FROM " + tableName + whereClause;
    }
Reason:
Date: 2018/11/26
Company: www.dtstack.com

@author maqi
rdb/rdb-side/src/main/java/com/dtstack/flink/sql/side/rdb/all/RdbAllSideInfo.java