You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code: 497. DB::Exception: Received from localhost:9000. DB::Exception: user_: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(s) ON test.src. (ACCESS_DENIED)
(query: SELECT * FROM mv2; )
The text was updated successfully, but these errors were encountered:
This is probably not intended behavior, but still you shouldn't use a user without a SELECT grant on the source table as a definer because it will be impossible to insert into such MV.
If source table doesn't have SELECT privilege for DEFINER user, then any user can't read data from MV (not target).
Steps to reproduce:
Result:
The text was updated successfully, but these errors were encountered: