<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Showing masked column when they should not in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/showing-masked-column-when-they-should-not/m-p/121606#M46502</link>
    <description>&lt;P&gt;In my organization we mask some column because they are PII, I have a dlt pipeline, I am masking these columns like this:&lt;BR /&gt;CASE WHEN is_account_group_member("BDAIM-{environment.upper()}-PII_Unmask") THEN Personshopper.firstName ELSE mask(Personshopper.firstName) END AS firstName,&lt;BR /&gt;CASE WHEN is_account_group_ember("BDAIM-{environment.upper()}-PII_Unmask") THEN Personshopper.middleName ELSE mask(Personshopper.middleName) END AS middleName,&lt;/P&gt;&lt;P&gt;I see the data masked, but my user should not see those masked, because my user belong to a group where we can see unmasked data, I checked is working in views or tables but not in materialized views, I have tried to change the ownership of the pipeline to my user, delete and re create the materialized view but nothing is working.&lt;/P&gt;&lt;P&gt;Anyone has been in this issue? masking materialized views from dlt pipelines, but unmasked them when a user comes from a particular group where they should be able to see this data unmasked?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 14:34:30 GMT</pubDate>
    <dc:creator>carlos_tasayco</dc:creator>
    <dc:date>2025-06-12T14:34:30Z</dc:date>
    <item>
      <title>Showing masked column when they should not</title>
      <link>https://community.databricks.com/t5/data-engineering/showing-masked-column-when-they-should-not/m-p/121606#M46502</link>
      <description>&lt;P&gt;In my organization we mask some column because they are PII, I have a dlt pipeline, I am masking these columns like this:&lt;BR /&gt;CASE WHEN is_account_group_member("BDAIM-{environment.upper()}-PII_Unmask") THEN Personshopper.firstName ELSE mask(Personshopper.firstName) END AS firstName,&lt;BR /&gt;CASE WHEN is_account_group_ember("BDAIM-{environment.upper()}-PII_Unmask") THEN Personshopper.middleName ELSE mask(Personshopper.middleName) END AS middleName,&lt;/P&gt;&lt;P&gt;I see the data masked, but my user should not see those masked, because my user belong to a group where we can see unmasked data, I checked is working in views or tables but not in materialized views, I have tried to change the ownership of the pipeline to my user, delete and re create the materialized view but nothing is working.&lt;/P&gt;&lt;P&gt;Anyone has been in this issue? masking materialized views from dlt pipelines, but unmasked them when a user comes from a particular group where they should be able to see this data unmasked?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 14:34:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/showing-masked-column-when-they-should-not/m-p/121606#M46502</guid>
      <dc:creator>carlos_tasayco</dc:creator>
      <dc:date>2025-06-12T14:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Showing masked column when they should not</title>
      <link>https://community.databricks.com/t5/data-engineering/showing-masked-column-when-they-should-not/m-p/121623#M46507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/147953"&gt;@carlos_tasayco&lt;/a&gt;, this is supported for materialized views. Please check the document to confirm if you're using the right syntax:&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dlt-ref/dlt-sql-ref-create-materialized-view#examples" target="_blank"&gt;https://docs.databricks.com/aws/en/dlt-ref/dlt-sql-ref-create-materialized-view#examples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please let me know if you still face the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 16:39:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/showing-masked-column-when-they-should-not/m-p/121623#M46507</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-06-12T16:39:13Z</dc:date>
    </item>
  </channel>
</rss>

