You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/15 09:33:26 UTC

[GitHub] [iotdb] SteveYurongSu opened a new issue #4387: Non-root users with correct query privileges are unable to select a empty timesereis

SteveYurongSu opened a new issue #4387:
URL: https://github.com/apache/iotdb/issues/4387


   How to reproduce:
   
   ```sql
   # user: root
   CREATE USER steve 'steve'
   
   GRANT ROLE application_role PRIVILEGES 'SET_STORAGE_GROUP','CREATE_TIMESERIES','INSERT_TIMESERIES','READ_TIMESERIES','DELETE_TIMESERIES','DROP_FUNCTION','CREATE_FUNCTION','CREATE_TRIGGER','DROP_TRIGGER','START_TRIGGER','STOP_TRIGGER' ON root.test
   
   GRANT application_role TO steve
   ```
   
   ```sql
   # user: steve
   select sin(s1) from root.test where time >= 2021-01-01 and time<= 2021-01-31 23:59:59 
   ```
   
   Then, you will get:
   ![image](https://user-images.githubusercontent.com/30497621/141757345-d3439af9-9b36-45a9-9e82-97c09aa08e85.png)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org