presto-cli/src/main/java/io/prestosql/cli/AbstractWarningsPrinter.java/AbstractWarningsPrinter/getWarningMessage
class AbstractWarningsPrinter:    private String getWarningMessage(Warning warning)
    {
        // If this is a real terminal color the warnings yellow
        if (REAL_TERMINAL) {
            return new AttributedStringBuilder()
                    .style(DEFAULT.foreground(YELLOW))
                    .append("WARNING: ")
                    .append(warning.getMessage())
                    .style(DEFAULT)
                    .toAnsi();
        }
        return format("WARNING: %s", warning.getMessage());
    }