cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Masking issue

Phani1
Valued Contributor II

Hi Team,

After successfully creating a group and populating it with members, I am facing the problem of the is_member() function always returning False, despite the user being part of the group. This issue is specific to my sandbox Databricks Account. How can I rectify this situation?

Note: is_member() only available on Unity Catalog enabled Workspace?

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @Phani1, The is_member() function you’re referring to seems to be specific to your application or codebase, a....

 

If you’re facing an issue where is_member() is always returning False, it could be due to a variety of reasons. 

 

Here are a few things you could check:

 

User and Group Creation: Ensure that the users and groups are correctly created and populated. This includes checking the user identifiers and group identifiers for any discrepancies.

Function Implementation: Review the implementation of the is_member() function. Ensure that it correctly checks whether a user is part of a group.

Data Consistency: If your function relies on some form of data storage to check membership, ensure that this data is consistent and up-to-date.

 

Regarding your note on the Unity Catalog, it’s a feature in Databricks that allows for centralized d.... It doesn’t directly handle user or group memberships for application-specific functions. However, it does manage identities at the account and workspace levels, which might be relevant depending on how your is_member() function is implemented.

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.

Request a New Group