Closed timfeirg closed 6 years ago
I've read some related issues including https://github.com/airbnb/superset/issues/485, https://github.com/airbnb/superset/issues/2473 these issues seems only related to mysql backends, not pyhive.
If it's mysql related please show your connection string, are you using a proper encoding?
I'm using pyhive @xrms
I'm planning on testing whether using py3 helps with that.
I'm using python 3, description has been updated. @mistercrunch
I have a similar on my remote server, which uses Ubuntu, but my local MacOS machine does not have this issue. Both machines use python 3.6. I suspect this is a mysql related problem. I've already converted both machines' mysql tables to utf8 charset. This question mark issue for me also occur to columns of type Text
, meaning for all description
columns for datasources and columns, all chinese characters are converted to ???. All VARCHAR
columns work with utf8 chars correctly though.
Notice: this issue has been closed because it has been inactive for 283 days. Feel free to comment and request for this issue to be reopened.
Environment
superset 18.4 and superset 18.5-alpha.3 python 3.6.1
SQLLab setup
I'm using pyhive, the sqlalchemy uri is
hive://xxx.xxx.xxx.xxx:10000/?auth=NONE&username=hive
Expected results
this sql will execute correctly:
Actual results
while superset web server shows the correct sql:
the actual sql that gets passed to superset worker is this:
Steps to reproduce
run the above sql.