Paulo456 commented on issue #20664:
URL: https://github.com/apache/superset/issues/20664#issuecomment-1638782624
clickhouse-sqlalchemy==0.1.10 need to patch
clickhouse_sqlalchemy/drivers/http/transport.py
set params 'default_format' to:
params['default_format'] = 'TabSeparatedWithNamesAndTypes'
in method _send of class RequestsTransport
```
---
/usr/local/lib/python3.8/site-packages/clickhouse_sqlalchemy/drivers/http/transport.py.orig
+++
/usr/local/lib/python3.8/site-packages/clickhouse_sqlalchemy/drivers/http/transport.py
@@ -164,6 +164,7 @@
params = params or {}
params['database'] = self.db_name
params.update(self.ch_settings)
+ params['default_format'] = 'TabSeparatedWithNamesAndTypes'
# TODO: retries, prepared requests
r = self.http.post(
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]