def raw(self, query, settings=None, stream=False):
query = self._substitute(query, None)<EOL>return self._send(query, settings=settings, stream=stream).text<EOL>
Performs a query and returns its output as text.

- `query`: the SQL query to execute.
- `settings`: query settings to send as HTTP GET parameters
- `stream`: if true, the HTTP response from ClickHouse will be streamed.