@Override
    public String getSqlSelect(Table table) {
        List<Column> columns = table.getColumns();
        StringBuilder sb = new StringBuilder("SELECT\n");
        for (int i = 0; i < columns.size(); i++) {
            sb.append("    ");
            if (i > 0) {
                sb.append(",");
            }
            String columnComment = columns.get(i).getComment();
            if (Asserts.isNotNullString(columnComment)) {
                if (columnComment.contains("'") || columnComment.contains("\"")) {
                    columnComment = columnComment.replaceAll("[\"']", "");
                }
                sb.append(String.format("`%s`  --  %s \n", columns.get(i).getName(), columnComment));
            } else {
                sb.append(String.format("`%s` \n", columns.get(i).getName()));
            }
        }

        if (Asserts.isNotNullString(table.getComment())) {
            sb.append(String.format(" FROM %s.%s; -- %s\n", table.getSchema(), table.getName(), table.getComment()));
        } else {
            sb.append(String.format(" FROM %s.%s;\n", table.getSchema(), table.getName()));
        }
        return sb.toString();
    }
@Test
    void getSqlSelect() {
        SubAbstractDriver ad = new SubAbstractDriver();
        String result = ad.getSqlSelect(table);
        assertThat(
                result,
                equalTo("SELECT\n    `column1`  --  comment abc \n"
                        + "    ,`column2`  --  comment abc \n"
                        + "    ,`column3`  --  comment abc \n"
                        + " FROM SchemaOrigin.TableNameOrigin;\n"));
    }