Druid - How to escape character in TIME_FORMAT function

I am testing a sql on Druid console Query. In my result, I'd like to change the __time to be formatted as YYYY/MM/DDThh (e.g. 2022/08/24T12) but I cannot find the way to escape T in the format string, and get Error: Unknown exception

This is a companion discussion topic for the original entry at https://stackoverflow.com/questions/73480352/druid-how-to-escape-character-in-time-format-function