presto-parser/src/main/java/io/prestosql/sql/SqlFormatter.java/SqlFormatter/visitFetchFirst
class SqlFormatter:        @Override
        protected Void visitFetchFirst(FetchFirst node, Integer indent)
        {
            append(indent, "FETCH FIRST " + node.getRowCount().map(c -> c + " ROWS ").orElse("ROW "))
                    .append(node.isWithTies() ? "WITH TIES" : "ONLY")
                    .append('\n');
            return null;
        }