Skip to content
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

[Bug] Fix the authz module's Ranger Test case doAs Bug #5593

Closed
3 of 4 tasks
davidyuan1223 opened this issue Nov 1, 2023 · 0 comments
Closed
3 of 4 tasks

[Bug] Fix the authz module's Ranger Test case doAs Bug #5593

davidyuan1223 opened this issue Nov 1, 2023 · 0 comments
Labels
kind:bug This is a clearly a bug priority:major

Comments

@davidyuan1223
Copy link
Contributor

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

In the authz module, some test case about ranger use doAs(user, userSql) to test, but we need doAs(user, spark.sql(userSql)), this will make the test case success, so that we can not know the test is success?
Just like the comment1, which is about execute the right test case will throw exception so that we can fix the reason cause.
But if we use doAs(user,userSql) to execute the test case, it will give us a wrong test result, you can get more info in this pr

Affects Version(s)

master

Kyuubi Server Log Output

No response

Kyuubi Engine Log Output

No response

Kyuubi Server Configurations

No response

Kyuubi Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.
@davidyuan1223 davidyuan1223 added kind:bug This is a clearly a bug priority:major labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug priority:major
Projects
None yet
Development

No branches or pull requests

1 participant