Is it possible to concatenate queries with query username in SQL comments? I need this to identify who is running slow queries from the database logs.
I am looking for something like this:
SELECT * FROM users LIMIT 10 /* Redash User: firstname.lastname@example.org */
I looked into the available environment variables supported by redash, but couldn’t find anything that could support this.
- Redash Version: 7.0.0+b17535 (15c815fb)
- Browser/OS: Chrome: 83.0.4103.97
- How did you install Redash: Manual Install on Ubuntu