<?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 Re: Redacted check constraint condition in Delta Table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/redacted-check-constraint-condition-in-delta-table/m-p/93550#M38727</link>
    <description>&lt;P&gt;Figured this out with the help of&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/71794"&gt;@SamDataWalk&lt;/a&gt;&amp;nbsp;'s post&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/databricks-bug-with-show-tblproperties-redacted-azure-databricks/m-p/93546" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/databricks-bug-with-show-tblproperties-redacted-azure-databricks/m-p/93546&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It happens because Databricks thinks certain keywords in the constrain query columns like "url" or "userid" are sensitive. You can disable this behavior with&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"spark.databricks.behaviorChange.SC102534CommandRedactProperties.enabled"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;False&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2024 01:51:57 GMT</pubDate>
    <dc:creator>SamAdams</dc:creator>
    <dc:date>2024-10-11T01:51:57Z</dc:date>
    <item>
      <title>Redacted check constraint condition in Delta Table</title>
      <link>https://community.databricks.com/t5/data-engineering/redacted-check-constraint-condition-in-delta-table/m-p/93544#M38724</link>
      <description>&lt;P&gt;Hello! I have a delta table with a check constraint - it's one of many that a config-driven ETL pipeline of mine generates. When someone edits the config file and deploys the change, I'd like for the check constraint to be updated as well if it's different. The problem I'm running into is that the check constraint's condition is redacted in the table properties, so I can't compare what's in the config with what is in the table properties. I am an admin in this workspace. Is this redacted condition expected, or is it possible to get the actual SQL syntax to show through another setting?&lt;/P&gt;&lt;P&gt;Output from SHOW TBLPROPERTIES or DESCRIBE EXTENDED:&lt;/P&gt;&lt;P&gt;```&lt;SPAN&gt;'delta.minReaderVersion': '1', 'delta.minWriterVersion': '3',&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'delta.constraints.sql_data_quality': '*********(redacted)'```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance if anyone knows what's going on.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 22:53:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/redacted-check-constraint-condition-in-delta-table/m-p/93544#M38724</guid>
      <dc:creator>SamAdams</dc:creator>
      <dc:date>2024-10-10T22:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Redacted check constraint condition in Delta Table</title>
      <link>https://community.databricks.com/t5/data-engineering/redacted-check-constraint-condition-in-delta-table/m-p/93550#M38727</link>
      <description>&lt;P&gt;Figured this out with the help of&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/71794"&gt;@SamDataWalk&lt;/a&gt;&amp;nbsp;'s post&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/databricks-bug-with-show-tblproperties-redacted-azure-databricks/m-p/93546" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/databricks-bug-with-show-tblproperties-redacted-azure-databricks/m-p/93546&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It happens because Databricks thinks certain keywords in the constrain query columns like "url" or "userid" are sensitive. You can disable this behavior with&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"spark.databricks.behaviorChange.SC102534CommandRedactProperties.enabled"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;False&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 01:51:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/redacted-check-constraint-condition-in-delta-table/m-p/93550#M38727</guid>
      <dc:creator>SamAdams</dc:creator>
      <dc:date>2024-10-11T01:51:57Z</dc:date>
    </item>
  </channel>
</rss>

