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

clickhouse数据源组织owner 用户,使用行权限出现Missing columns: #2322

Open
cnmrzhou opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@cnmrzhou
Copy link

cnmrzhou commented May 7, 2024

Datart Version
1.0.0-rc3

Describe the bug
对于owner 角色的用户使用权限变量做行权限出现异常
image
** Code: 47, e.displayText() = DB::Exception: Missing columns: '$zone_new$' while processing query: **
但用非此组织用户,可以正常使用,但提示sql 解析失败,但可以正常执行

To Reproduce
Steps to reproduce the behavior:

  1. 添加数据视图
  2. sql 视图
  3. clickhouse 数据集
  4. 即可复现此bug

Expected behavior
新建一个非Owner 用户,不出现问题.
非clickhouse 数据集,也不出现问题

Screenshots
If applicable, add screenshots to help explain your problem.

Environmental details: (optional, depending on where the bug occurs)

  • OS: [e.g. Windows 10]
  • Source Database: [e.g. MySQL 8.0.26]
  • Browser: [e.g. chrome 94, safari 15]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants