Can define custom session variable for login user authentication in databricks for Row -Column level security .

vinaykumar
Databricks Partner

can create custom session variable for login user authentication in databricks .

Like HANA session Variables, we have scenarios like today’s spotfire where we use a single generic user to connect to HANA ( we don’t have single sign on enabled ) in this case what we do is we set session variables before the call happens to HANA

And based on these session variables we do certain actions like identifying the user who is connecting on spotfire and implement security rules like column masking, row level security, impersonation ( to be able to proxy as different user )