Skip to content

Can't execute hive sql include chinese #2820

Answered by Harshg999
gzqcason asked this question in Questions
Discussion options

You must be logged in to vote

vim /data/hue-4.10/hue/apps/beeswax/gen-py/TCLIService/ttypes.py

oprot.writeString(self.statement) 编辑为 oprot.writeString(self.statement.encode('utf-8'))

Here is the answer: #2606

The fix is now also part of the latest 4.11.0 release.
For earlier versions, fix can be applied as described in: #2606

Thanks @2416210017 for pointing out!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@gzqcason
Comment options

@2416210017
Comment options

@2416210017
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Harshg999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants