HUE 4.7 "'ascii' codec can't decode byte" error
See original GitHub issueIs the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com? No, at least I couldn’t find it
Describe the bug:
When running Hive or Impala query that contains special characters, for example çã
the error is returned:
'ascii' codec can't decode byte 0xc3 in position 90: ordinal not in range(128)
Log file with more details attached. hue_47_ascii_codec_cant_decode_error.txt The same query works without errors when executed from Hue 4.6
Steps to reproduce it?
Create table with data that contains symbols ç
or ã
in string fields and try to query it like this:
select * from db.table where name='Don Pelição'
The query works fine if it doesn’t contain special characters.
Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0…). System info (e.g. OS, Browser…). Open source 4.7. System info - OS: Windows 10; Browsers: Firefox and Chrome.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top GitHub Comments
we are facing the same problem. With HUE 4.8.0 some LDAP users are not able to login anymore. Same users and same LDAP backend but Hue 4.4.0 works fine for us.
Indeed, this is has not been working for a while. There are a few tricky unicode places to handle correctly. I faced a few of those while porting to Python 3 (in the fetch result call) and will see if possible to fix at some point.