Hide SQL query details in redash API results

Hello :slight_smile:

If there’s a possibility to hide SQL query details in Redash API results?

What do you mean by SQL query details?

Hi @k4s1m
I mean SQL code itself :smile:

You can modify redash/handlers/query_results.py to not include the query text. I don’t think this breaks anything in the front-end.

This is a step by step guide for changing script redash/handlers/query_results.py inside docker
or just copy and replace this script query_results.py with the existing one, and then restart redash_server_1


Thank you :sparkling_heart:

1 Like