apache / apache/iotdb

grant ALTER_TIMESERIES fail

Open
#7,274 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

version:0.13.2
sql =GRANT ROLE 测试角色 PRIVILEGES ALTER_TIMESERIES ON root.**
msg: **401: Error occurred while parsing SQL to physical plan: line 1:27 mismatched input 'ALTER_TIMESERIES' expecting {ALL, PRIVILEGE_VALUE}**

I change ALTER_TIMESERIES to UPDATE_TIMESERIES ,fail too.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the GRANT ROLE statement from the issue against IoTDB 0.13.2 and trace its SQL parsing entry point for timeseries privileges. Check existing grammar and privilege-parser tests for the accepted privilege forms; done means the reported ALTER_TIMESERIES and UPDATE_TIMESERIES statements parse without the shown error and have matching coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.