-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HiveServer2Connection.cursor has always user=None when called from ImpalaExecutionContext #473
Comments
With little pdb-ing i found that the cursor method of HiveServer2Connection does not receive the user argument from ImpalaExecutionContext. I don't see the way to pass the user name from the script to the cursor method of HiveServer2Connection. I'm not sure what would be the correct solution here; maybe read the user configuration from |
Monkey patch helps:
Output:
|
I would happily create a PR with tests, but i need an advice from maintainers
|
Steps to reproduce:
python3 connect.py 2> >(grep 'req=TOpenSessionReq')
Expected output:
Actual output (notice the user name):
The text was updated successfully, but these errors were encountered: