presto-cli/src/main/java/io/prestosql/cli/StatusPrinter.java/StatusPrinter/stageStateCharacter
class StatusPrinter:    private static char stageStateCharacter(String state)
    {
        return "FAILED".equals(state) ? 'X' : state.charAt(0);
    }