presto-parser/src/main/java/io/prestosql/sql/ExpressionFormatter.java/Formatter/visitCast
class Formatter:        @Override
        public String visitCast(Cast node, Void context)
        {
            return (node.isSafe() ? "TRY_CAST" : "CAST") +
                    "(" + process(node.getExpression(), context) + " AS " + process(node.getType(), context) + ")";
        }