v.21.1Improvements
Access Control Update: merge() Function Requires SELECT Privilege on Source Tables
Access control: Now table functionmerge()requires current user to haveSELECTprivilege on each table it receives data from. This PR fixes #16964. #18104 #17983 (Vitaly Baranov).
Why it matters
This feature improves security by ensuring that users can only merge data from tables on which they have explicitSELECT permissions, preventing unauthorized data access.How to use it
Ensure the user hasSELECT privilege on all tables passed to the merge() function. Without these privileges, attempts to use merge() will be denied.