Skip to content

[Bug] Currently executing SQL: select count(1) from xxx Permissions cannot be controlled #7173

@jackyjfhu

Description

@jackyjfhu

Code of Conduct

Search before asking

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

Describe the bug

Ordinary users do not have permission to a certain table. Under normal circumstances, executing the following SQL will result in an error:
select *from test.

However, if the following SQL is executed, it can be executed successfully. The permission is not controlled:
select count(1) from test;
select *from test where id="222"

Affects Version(s)

1.9.0

Kyuubi Server Log Output

Kyuubi Engine Log Output

Kyuubi Server Configurations

Kyuubi Engine Configurations

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions