Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
However the tables that have RLS using a Security Policy appear empty. I imagine that this solution is not able to use the Functions and respective Security Policy? I can confirm that once disabling the Security Policy I was able to see the relevant data in the table.
Was a bit quick here, found out that the SUSER_NAME() of the query is of course the connection that was setup. So the User/Password defined here:
Once I added that same user to the RLS logic I get the correct result.
โ
Connect with Databricks Users in Your Area
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.