<?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>Data Engineering topics</title>
    <link>https://community.databricks.com/t5/data-engineering/bd-p/data-engineering</link>
    <description>Data Engineering topics</description>
    <pubDate>Sat, 17 Oct 2026 10:52:05 GMT</pubDate>
    <dc:creator>data-engineering</dc:creator>
    <dc:date>2026-10-17T10:52:05Z</dc:date>
    <item>
      <title>About Azure SQL Managed Connector</title>
      <link>https://community.databricks.com/t5/data-engineering/about-azure-sql-managed-connector/m-p/173670#M56746</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are trying to configure a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Databricks Lakeflow Connect managed SQL Server connector&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; to ingest data from Azure SQL Database into Databricks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are using a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;contained SQL database user&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; that has access only to the specific source database, with no access to the "master"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, during connection validation, we are encountering the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Authentication failure while obtaining the connection to the source database: Error while creating connection pool for catalog master. Login failed for user '&amp;lt;contained_db_user&amp;gt;'.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Our understanding:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It appears that the Lakeflow Connect managed SQL Server connector attempts to establish a connection to the master&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;database during connection validation, even though the intended source is a specific Azure SQL database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since we are using a contained database user, authentication to "master" f&lt;/SPAN&gt;&lt;SPAN&gt;ails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Our security requirement:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We need to restrict the service account to the source database only, without granting access to "master"&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Questions for the community:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone successfully configured the Lakeflow Connect managed SQL Server connector using a contained database user with access restricted to a single Azure SQL database?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Is there a supported configuration to bypass master&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;database authentication and connect directly to the specified source database?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Is access to "master"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;mandatory for this connector, even when ingesting from only one database?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Are there any recommended workarounds that preserve database-level security isolation while still using the managed Lakeflow Connect connector?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;We would prefer to use the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;managed Lakeflow Connect connector rather than building a custom JDBC ingestion framework&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have any better approach suggest?&lt;BR /&gt;Any insights, experiences, or recommendations would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2026 18:02:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/about-azure-sql-managed-connector/m-p/173670#M56746</guid>
      <dc:creator>srikanthp24</dc:creator>
      <dc:date>2026-10-16T18:02:01Z</dc:date>
    </item>
    <item>
      <title>External location Manage permission</title>
      <link>https://community.databricks.com/t5/data-engineering/external-location-manage-permission/m-p/173651#M56738</link>
      <description>&lt;P&gt;Hi team, I'm trying to update the owner of an external location and I see the following message:&lt;/P&gt;&lt;P&gt;Requires permission MANAGE on external location 'location_name'&lt;/P&gt;&lt;P&gt;The owner of the resource, the user that created it doesn't have that permission? How is that possible?&lt;/P&gt;&lt;P&gt;ok, let's say the owner doesn't have it by default, how I add the MANAGE permission to this resource?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-10-16 at 12.21.09 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32305i288BCECF986479F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-10-16 at 12.21.09 PM.png" alt="Screenshot 2026-10-16 at 12.21.09 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2026 16:34:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-location-manage-permission/m-p/173651#M56738</guid>
      <dc:creator>orlandovallejos</dc:creator>
      <dc:date>2026-10-16T16:34:10Z</dc:date>
    </item>
    <item>
      <title>Zerobus Variant Data not Processed as Expected (json data destined for Variant column).</title>
      <link>https://community.databricks.com/t5/data-engineering/zerobus-variant-data-not-processed-as-expected-json-data/m-p/173633#M56736</link>
      <description>&lt;P&gt;Lets say I have a table receiving zerobus data (json) over HTTP/rest.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB1To3_0-1792159051588.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32292i8F3C02B32960C31B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB1To3_0-1792159051588.png" alt="DB1To3_0-1792159051588.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That last VARIANT is "&lt;STRONG&gt;ValueJson&lt;/STRONG&gt;".&lt;BR /&gt;&lt;BR /&gt;If I want to submit data to it, I would expect to be able to use normal json formatting:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
    {
        "a": "E",
        "b": 123,
        "c": "xyz", 
        "ValueJson": { "x" :  "y" }


    }
]
  &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't want that part of the record to be ACTUAL json.&amp;nbsp; The error is like so&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB1To3_1-1792159180521.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32293i7333ED2A26AF7AB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB1To3_1-1792159180521.png" alt="DB1To3_1-1792159180521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Record decoder/encoder error: invalid type: map, expected a string at line 13 column 24. Error Code: 4044, Error State: 3.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Unfortunately the fix is to send json-encoded json (escaped json in a string, since the error says it expected a string).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
    {
        "a": "E",
        "b": 123,
        "c": "xyz", 
        "ValueJson": "{ \"x\" :  \"y\" }"


    }
]
  &lt;/LI-CODE&gt;&lt;P&gt;Does this seem reasonable behavior, or is it a bug?&amp;nbsp; I think it is a bit unnatural to have to encode the json VARIANT instead of just nesting it inside the record as normal json.&amp;nbsp; Ideally the use of this VARIANT wouldn't force us towards using json-encoded-json.&amp;nbsp; It isn't the end of the world, but it seems like a very unfortunate way of sending data from a remote client - one that shouldn't need to have a deep understanding of the eccentricities of the VARIANT-parsing rules for zerobus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2026 14:10:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/zerobus-variant-data-not-processed-as-expected-json-data/m-p/173633#M56736</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-10-16T14:10:05Z</dc:date>
    </item>
    <item>
      <title>Zerobus rescue (VARIANT) not working.  No Preview Available.</title>
      <link>https://community.databricks.com/t5/data-engineering/zerobus-rescue-variant-not-working-no-preview-available/m-p/173624#M56734</link>
      <description>&lt;P&gt;Has anyone tried using the rescue feature for json in zerobus-ingest?&amp;nbsp; It seems like a very significant feature, assuming the schema incoming json is even 1% outside the control of team that may be ingesting on the databricks side. There needs to be a way to ingest a json record that is slightly non-conforming.&amp;nbsp; Else you get unhelpful errors.&lt;/P&gt;&lt;P&gt;Here is the doc:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB1To3_0-1792157909614.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32289i79E3BCAA693D9C7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB1To3_0-1792157909614.png" alt="DB1To3_0-1792157909614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;... but I'm not able to get this working, and there is no "preview" switches for this in my DBX account settings.&lt;/P&gt;&lt;P&gt;The table is configured with the NULLable, tagged column as required:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB1To3_1-1792158060551.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32290iF7FE1E2876C104C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB1To3_1-1792158060551.png" alt="DB1To3_1-1792158060551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Yet whenever I submit json row data (using currently HTTP/rest), I just get an error that says zerobus doesn't approve:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Record decoder/encoder error: unrecognized field name 'whatever' at line 2 column 24. Error Code: 4044, Error State: 3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I looked for a preview in my account settings and there is none listed (supposed to be "Beta" according to docs).&lt;BR /&gt;Any advice would be appreciated.&amp;nbsp; Let me know if I'm misunderstanding the intended behavior of this rescue column.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2026 13:45:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/zerobus-rescue-variant-not-working-no-preview-available/m-p/173624#M56734</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-10-16T13:45:42Z</dc:date>
    </item>
    <item>
      <title>Datavault implemention on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/datavault-implemention-on-databricks/m-p/173578#M56731</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm building a Data Vault 2.0 architecture entirely natively in Databricks from scratch. We have specifically decided &lt;I&gt;not&lt;/I&gt; to use dbt.&lt;/P&gt;&lt;P&gt;While Raw Vault ingestion is straightforward with Spark/Delta, I'm looking for architectural advice on complex Business Vault objects.&lt;/P&gt;&lt;P&gt;Would love to hear from anyone who has built a native framework from the ground up!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2026 06:01:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/datavault-implemention-on-databricks/m-p/173578#M56731</guid>
      <dc:creator>ankit2604</dc:creator>
      <dc:date>2026-10-16T06:01:25Z</dc:date>
    </item>
    <item>
      <title>Issue with query editor - auto suggest does not respect the casing of columns in CTE</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173498#M56727</link>
      <description>&lt;P&gt;This behaviour (see image) of auto-suggest in the new editor makes the usage of auto-suggest pretty much useless to me.&lt;/P&gt;&lt;P&gt;I prefer PascalCase for column names in CTEs. Auto-suggest defaults to lowercase.&lt;/P&gt;&lt;P&gt;I need to type out everything. The older version of the editor supported this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="cte-column-case.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32237i8A8EE80C770DB767/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cte-column-case.png" alt="cte-column-case.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2026 08:26:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173498#M56727</guid>
      <dc:creator>Ram_Sundar</dc:creator>
      <dc:date>2026-10-15T08:26:15Z</dc:date>
    </item>
    <item>
      <title>Databricks Connect + AutoDependencies + UDF + Streaming breaks</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-autodependencies-udf-streaming-breaks/m-p/173335#M56719</link>
      <description>&lt;P&gt;I have this toy python script:&lt;/P&gt;&lt;PRE&gt;CATALOG = 'mpt_usd_gbl_bronze_dev' # &amp;lt;-- replace&lt;BR /&gt;SCHEMA = 'mpt_gbl_tco_fof' # &amp;lt;-- replace&lt;BR /&gt;&lt;BR /&gt;src=f'{CATALOG}.{SCHEMA}.toy_source'&lt;BR /&gt;DEST = f'{CATALOG}.{SCHEMA}.toy_dest'&lt;BR /&gt;&lt;BR /&gt;from databricks.connect import DatabricksSession, DatabricksEnv&lt;BR /&gt;from pyspark.sql import functions as F, SparkSession, DataFrame&lt;BR /&gt;&lt;BR /&gt;env = DatabricksEnv().withAutoDependencies(upload_local=True, use_index=True)&lt;BR /&gt;spark: SparkSession = DatabricksSession.builder.serverless().withEnvironment(env).getOrCreate()&lt;BR /&gt;&lt;BR /&gt;spark.sql(f'CREATE SCHEMA IF NOT EXISTS {CATALOG}.{SCHEMA}')&lt;BR /&gt;spark.sql(f'DROP TABLE IF EXISTS {SRC}')&lt;BR /&gt;spark.sql(f'DROP TABLE IF EXISTS {DEST}')&lt;BR /&gt;&lt;BR /&gt;(&lt;BR /&gt;    spark.createDataFrame(&lt;BR /&gt;        [('Alice', 1), ('Bob', 2), ('Claire', 3),],&lt;BR /&gt;        schema='name string, value int',&lt;BR /&gt;    )&lt;BR /&gt;    .write.format('delta')&lt;BR /&gt;    .saveAsTable(SRC)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;def test(batch_df: DataFrame, batch_id: int):&lt;BR /&gt;f = F.udf(lambda x: 'here')&lt;BR /&gt;(&lt;BR /&gt;    batch_df&lt;BR /&gt;    .withColumn('here', f(F.col('file_name')))&lt;BR /&gt;    .write.format('delta').mode('append')&lt;BR /&gt;    .saveAsTable(DEST)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;(&lt;BR /&gt;    spark&lt;BR /&gt;    .readStream.format('delta').table(SRC)&lt;BR /&gt;    .writeStream.foreachBatch(test)&lt;BR /&gt;    .trigger(availableNow=True).start().awaitTermination()&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;It (1) initializes databricks-connect (2) loads dependencies (3) creates a UDF (4) runs a streaming query. I am getting this error:&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/ivaylo-rusinov/tieto/magna/MPT_Cloud_Data_Analytics/MPT_UNS_Engineering_Pipeline_3S/PipelineConfigurations/MPT_GBL_Workspace/SourceAligned_GBL_TCO_FoF/tests3.py", line 40, in &amp;lt;module&amp;gt;&lt;BR /&gt;.trigger(availableNow=True).start().awaitTermination()&lt;BR /&gt;^^^^^^^&lt;BR /&gt;File "/home/ivaylo-rusinov/python_312_env/lib/python3.12/site-packages/pyspark/sql/connect/streaming/readwriter.py", line 793, in start&lt;BR /&gt;return self._start_internal(&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/home/ivaylo-rusinov/python_312_env/lib/python3.12/site-packages/pyspark/sql/connect/streaming/readwriter.py", line 755, in _start_internal&lt;BR /&gt;_, properties, _ = self._session.client.execute_command(cmd)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/home/ivaylo-rusinov/python_312_env/lib/python3.12/site-packages/pyspark/sql/connect/client/core.py", line 1880, in execute_command&lt;BR /&gt;data, _, metrics, observed_metrics, properties = self._execute_and_fetch(&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/home/ivaylo-rusinov/python_312_env/lib/python3.12/site-packages/pyspark/sql/connect/client/core.py", line 2512, in _execute_and_fetch&lt;BR /&gt;for response in self._execute_and_fetch_as_iterator(&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/home/ivaylo-rusinov/python_312_env/lib/python3.12/site-packages/pyspark/sql/connect/client/core.py", line 2266, in _execute_and_fetch_as_iterator&lt;BR /&gt;req = hook.on_execute_plan(req)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/home/ivaylo-rusinov/python_312_env/lib/python3.12/site-packages/databricks/connect/auto_dependencies/hook.py", line 110, in on_execute_plan&lt;BR /&gt;obj = obj[0]&lt;BR /&gt;~~~^^^&lt;BR /&gt;TypeError: 'function' object is not subscriptable&lt;/PRE&gt;&lt;P&gt;Is this intended behavior? I assume this is quite a common workflow. How can I fix this?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2026 17:46:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-autodependencies-udf-streaming-breaks/m-p/173335#M56719</guid>
      <dc:creator>i4ata</dc:creator>
      <dc:date>2026-10-14T17:46:50Z</dc:date>
    </item>
    <item>
      <title>How do you preserve PostgreSQL table ownership when an app resource is recreated?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-you-preserve-postgresql-table-ownership-when-an-app/m-p/173106#M56701</link>
      <description>&lt;P&gt;Hi Community members,&lt;/P&gt;&lt;P&gt;I'm looking into a potentially tricky deployment scenario involving Databricks Apps, Lakebase, and Databricks Asset Bundles (DABs).&lt;/P&gt;&lt;P&gt;Consider an application that uses Lakebase as its PostgreSQL backend. The app's service principal owns some application tables, while a separate service principal running a synchronization job owns other tables.&lt;/P&gt;&lt;P&gt;If a deployment or configuration change removes and recreates the app's Lakebase resource, what is the recommended way to preserve database roles, grants, and table ownership?&lt;/P&gt;&lt;P&gt;A few specific questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is there a supported way to restore ownership of existing tables to the original service principal if its PostgreSQL role is removed and recreated?&lt;/LI&gt;&lt;LI&gt;What is the recommended pattern for managing application schema migrations with Alembic when different service principals own application tables and synchronized tables?&lt;/LI&gt;&lt;LI&gt;Should database roles, grants, and ownership be managed separately from the app's DAB resource lifecycle to prevent deployment changes from affecting existing data?&lt;/LI&gt;&lt;LI&gt;What recovery strategy would you recommend if the app reconnects successfully but subsequently loses the privileges needed to alter or drop existing tables?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm particularly interested in production-safe approaches that avoid manual database repair after deployments.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2026 01:49:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-you-preserve-postgresql-table-ownership-when-an-app/m-p/173106#M56701</guid>
      <dc:creator>A_Motia</dc:creator>
      <dc:date>2026-10-14T01:49:20Z</dc:date>
    </item>
    <item>
      <title>Production table maintenance</title>
      <link>https://community.databricks.com/t5/data-engineering/production-table-maintenance/m-p/173105#M56700</link>
      <description>&lt;P&gt;Hi Community members,&lt;/P&gt;&lt;P&gt;I'm interested in how people monitor the effectiveness of Liquid Clustering as a Delta table grows over time.&lt;/P&gt;&lt;P&gt;Consider below scenario:&lt;/P&gt;&lt;P&gt;A table initially performs well, but MERGE operations gradually become slower even though the clustering keys haven't changed.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Which metrics do you monitor to determine whether the issue is stale file layout, poor data skipping, or source-side processing?&lt;/LI&gt;&lt;LI&gt;How do you decide when to run OPTIMIZE versus reconsider the clustering keys?&lt;/LI&gt;&lt;LI&gt;Do you use Delta operation metrics from DESCRIBE HISTORY to track when performance starts degrading?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd appreciate examples of how you've diagnosed this in production system in an automated fashion&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2026 01:44:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/production-table-maintenance/m-p/173105#M56700</guid>
      <dc:creator>A_Motia</dc:creator>
      <dc:date>2026-10-14T01:44:05Z</dc:date>
    </item>
    <item>
      <title>issues creating a foreign catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/issues-creating-a-foreign-catalog/m-p/172923#M56689</link>
      <description>&lt;P&gt;I've created a foreign connection to an on prem sql server...&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;CONNECTION&lt;/SPAN&gt; &lt;SPAN&gt;IF&lt;/SPAN&gt; &lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;EXISTS&lt;/SPAN&gt; &lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;dagrbs-dr01&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;TYPE&lt;/SPAN&gt;&lt;SPAN&gt; SQLSERVER&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;OPTIONS&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; host &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;secret&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'scope-kv-key-vault'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'ip-dagrbs-dr01'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; port &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'1433'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;user&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;secret&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'scope-kv-key-vault'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'username-dagrbs-dr01'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; password &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;secret&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'scope-kv-key-vault'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'password-dagrbs-dr01'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;next step to create the foreign catalog returns...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;summary: [DATA_SOURCE_OPTION_CONTAINS_INVALID_CHARACTERS] Option host must not be empty and should not contain invalid characters, query strings, or parameters. SQLSTATE: 42602&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;the schema and tables are compliant with databricks naming conventions, but the server name (not specified in the connection) does include a hyphen.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is this the issue, or am I missing something else?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Oct 2026 09:28:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issues-creating-a-foreign-catalog/m-p/172923#M56689</guid>
      <dc:creator>DaveCh</dc:creator>
      <dc:date>2026-10-13T09:28:15Z</dc:date>
    </item>
    <item>
      <title>Are PATs (user or service principal)  accepted by Databricks Apps?</title>
      <link>https://community.databricks.com/t5/data-engineering/are-pats-user-or-service-principal-accepted-by-databricks-apps/m-p/172917#M56688</link>
      <description>&lt;OL&gt;&lt;LI&gt;Is the 401 expected behavior, and is it documented anywhere?&lt;/LI&gt;&lt;LI&gt;Is there a supported way for an external system with only a static header to call a Databricks App?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I want to receive webhooks from an external SaaS product. The sender can only POST to a public HTTPS URL, and it has a beta feature that lets me add &lt;STRONG&gt;static custom header values&lt;/STRONG&gt;. It can’t run an OAuth flow or refresh tokens.&lt;/P&gt;&lt;P&gt;what I've tested:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A service principal with Can USE&amp;nbsp;on the app, and an OAuth M2M secret.&amp;nbsp;Calling the app with the OAuth access token works. The request reaches my code.&lt;/LI&gt;&lt;LI&gt;A PAT for the service principal, sent&amp;nbsp;to the app URL. This returns &lt;STRONG&gt;HTTP 401&lt;/STRONG&gt; with an empty body, so the app proxy rejects it before my code runs.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 13 Oct 2026 09:09:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/are-pats-user-or-service-principal-accepted-by-databricks-apps/m-p/172917#M56688</guid>
      <dc:creator>databrickspooja</dc:creator>
      <dc:date>2026-10-13T09:09:14Z</dc:date>
    </item>
    <item>
      <title>Best Practices for Managing Permissions in Databricks Workspaces</title>
      <link>https://community.databricks.com/t5/data-engineering/best-practices-for-managing-permissions-in-databricks-workspaces/m-p/172895#M56686</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’m interested in learning how other teams manage user permissions and access control in Databricks workspaces, especially when multiple users and groups need different levels of access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, when working with SQL Warehouses, Unity Catalog, and hared data resources, what approach do you find most effective for keeping permissions organized and secure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you prefer managing permissions directly through the Databricks UI, using REST APIs, or automating everything with Terraform?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’d love to hear about your experiences, any challenges you’ve faced, and the best practices you would recommend for making permission management easier as a team grows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for sharing your insights!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2026 06:21:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/best-practices-for-managing-permissions-in-databricks-workspaces/m-p/172895#M56686</guid>
      <dc:creator>oliviaanne</dc:creator>
      <dc:date>2026-10-13T06:21:34Z</dc:date>
    </item>
    <item>
      <title>Genie spaces with DABs - how do you deal with the table ordering?</title>
      <link>https://community.databricks.com/t5/data-engineering/genie-spaces-with-dabs-how-do-you-deal-with-the-table-ordering/m-p/172858#M56683</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm about to start managing Genie spaces as code with Asset Bundles and wanted&lt;BR /&gt;to ask before I build it.&lt;/P&gt;&lt;P&gt;From what I'm reading, the genie_spaces resource needs the tables in its&lt;BR /&gt;data_sources to already exist when you deploy. That's fine for an environment&lt;BR /&gt;that's already running, but it seems to break the first deploy to a new target,&lt;BR /&gt;where the same bundle is creating the schema and tables and then declaring the&lt;BR /&gt;Genie space on top of them.&lt;/P&gt;&lt;P&gt;I could split it into two deploys, but then I lose the single command deploy&lt;BR /&gt;that's half the point of using bundles.&lt;/P&gt;&lt;P&gt;For anyone already doing this:&lt;/P&gt;&lt;P&gt;Are you keeping the Genie space in the same bundle as the tables it reads, or&lt;BR /&gt;did you end up separating them?&lt;/P&gt;&lt;P&gt;And one I haven't found an answer to anywhere: on a redeploy, what happens to&lt;BR /&gt;the instructions and example queries people add to the space through the UI?&lt;BR /&gt;Does the bundle overwrite them?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2026 21:03:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/genie-spaces-with-dabs-how-do-you-deal-with-the-table-ordering/m-p/172858#M56683</guid>
      <dc:creator>juanlozadab</dc:creator>
      <dc:date>2026-10-12T21:03:50Z</dc:date>
    </item>
    <item>
      <title>Lakeflow Connect SQL Server (integrated CDC pipeline): no way to Include/exclude columns</title>
      <link>https://community.databricks.com/t5/data-engineering/lakeflow-connect-sql-server-integrated-cdc-pipeline-no-way-to/m-p/172832#M56680</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Lakeflow Connect, SQL Server source, `connector_type: CDC`, integrated pipeline (gateway-less — extraction and apply in one triggered pipeline on classic compute)&lt;BR /&gt;- Deployed with Declarative Automation Bundles, `databricks-bundles` 1.20.0, CLI current&lt;BR /&gt;- Migrated from the gateway + ingestion-pipeline pair, where `table_configuration.include_columns` was in use and working&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We don't need all the columns from the tables we're ingesting. So we need to include or exclude a selection.&lt;/P&gt;&lt;P&gt;When adding the parameter "include_columns" under "&lt;SPAN&gt;table_configuration"&amp;nbsp;&lt;/SPAN&gt;(the list that worked on the gateway-based pipeline) on the integrated pipeline, the bundle deployment fails with:&lt;BR /&gt;```&lt;BR /&gt;Column selection (include_columns / exclude_columns) is not supported for Some(SQLSERVER).&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;The "TableSpecificConfig" model in "databricks-bundles" documents both fields as "[Public Preview]" with no connector caveat, and the SQL Server connector docs show them in the example config, so the rejection looks like a service-side limitation specific to the integrated SQL Server connector rather than a client issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Is column selection (`include_columns` / `exclude_columns`) expected to work on the integrated CDC pipeline for SQL Server?&lt;/P&gt;&lt;P&gt;Happy to share more details about this!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2026 17:11:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakeflow-connect-sql-server-integrated-cdc-pipeline-no-way-to/m-p/172832#M56680</guid>
      <dc:creator>Oumeima</dc:creator>
      <dc:date>2026-10-12T17:11:42Z</dc:date>
    </item>
    <item>
      <title>Genie "Field" error:  Table name or alias is required for column 'amount'</title>
      <link>https://community.databricks.com/t5/data-engineering/genie-quot-field-quot-error-table-name-or-alias-is-required-for/m-p/172814#M56675</link>
      <description>&lt;P&gt;The documentation at&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/genie-agents/tune-quality#define-sql-expressions" target="_blank"&gt;https://docs.databricks.com/aws/en/genie-agents/tune-quality#define-sql-expressions&lt;/A&gt;&amp;nbsp;says that you can create a "Field" in a genie agent (in the Examples section of config) with the code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;CASE WHEN amount &amp;lt; 10000 THEN 'Small' WHEN amount &amp;lt; 50000 THEN 'Medium' ELSE 'Large' END&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, entering this code yields an error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;Table name or alias is required for column 'amount'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;presumably because the field names aren't specified as belonging to a specific table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So #1, that's an error in the documentation, right?&lt;/P&gt;&lt;P&gt;#2, what does "alias" mean in the error message?&amp;nbsp; I get that if I were creating an example Query, I could create table aliases for the result of the query.&amp;nbsp; But such aliases do not appear to be valid for using in the Field definition.&lt;/P&gt;&lt;P&gt;Is there a separate method for defining an "alias" in the context of a Genie Agent?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="field.png" style="width: 369px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32041i8C2BF5EDCCCDF2A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="field.png" alt="field.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2026 16:24:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/genie-quot-field-quot-error-table-name-or-alias-is-required-for/m-p/172814#M56675</guid>
      <dc:creator>dkxxx-rc</dc:creator>
      <dc:date>2026-10-12T16:24:44Z</dc:date>
    </item>
    <item>
      <title>Supervisor Agent Deployments!</title>
      <link>https://community.databricks.com/t5/data-engineering/supervisor-agent-deployments/m-p/172772#M56673</link>
      <description>&lt;DIV&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Could someone please help me deploy the Supervisor Agent using Azure DevOps? I would appreciate it if you could guide me through the deployment steps as well.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Oct 2026 12:14:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/supervisor-agent-deployments/m-p/172772#M56673</guid>
      <dc:creator>karuppusamy</dc:creator>
      <dc:date>2026-10-12T12:14:28Z</dc:date>
    </item>
    <item>
      <title>ServiceNow ingestion failed since October 1st.</title>
      <link>https://community.databricks.com/t5/data-engineering/servicenow-ingestion-failed-since-october-1st/m-p/172617#M56659</link>
      <description>&lt;P&gt;I have a data ingestion pipeline ingesting ServiceNow data into databricks. It has been working for several months, but it stopped working since October 1st.&lt;/P&gt;&lt;P&gt;From what I see, the pipeline suffered connection time out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-10-10 at 2.02.42 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/31994i0CB449BDAAC722E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-10-10 at 2.02.42 PM.png" alt="Screenshot 2026-10-10 at 2.02.42 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, from the connection, I can see the token being refreshed properly, and the application registry in servicenow shows the account is active.&lt;/P&gt;&lt;P&gt;I have tried everything I can, but I just can't seem to get pass this error. I am wondering if anyone else experienced this and how you fixed it?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2026 21:09:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/servicenow-ingestion-failed-since-october-1st/m-p/172617#M56659</guid>
      <dc:creator>scott_kao</dc:creator>
      <dc:date>2026-10-10T21:09:18Z</dc:date>
    </item>
    <item>
      <title>Declarative Pipeline with editable wheel: PYTHON.MODULE_NOT_FOUND_ERROR</title>
      <link>https://community.databricks.com/t5/data-engineering/declarative-pipeline-with-editable-wheel-python-module-not-found/m-p/172599#M56658</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I create a bundle with&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks bundle init&lt;/LI-CODE&gt;&lt;P&gt;and i let create a pipeline including a package.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pipeline definition looks like the following&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# The main pipeline for pipelinewithpackage

resources:
  pipelines:
    pipelinewithpackage_etl:
      name: pipelinewithpackage_etl
      catalog: ${var.catalog}
      schema: ${var.schema}
      serverless: true
      root_path: "../src/pipelinewithpackage_etl"

      libraries:
        - glob:
            include: ../src/pipelinewithpackage_etl/transformations/**

      environment:
        dependencies:
          # We include every dependency defined by pyproject.toml by defining an editable environment
          # that points to the folder where pyproject.toml is deployed.
          - --editable ${workspace.file_path}&lt;/LI-CODE&gt;&lt;P&gt;The package looks like the following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="databricks.png" style="width: 193px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/31985i91134B8AF2D1588F/image-size/large?v=v2&amp;amp;px=999" role="button" title="databricks.png" alt="databricks.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I want to use the package in my pipeline. So I simply added&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;from pipelinewithpackage import taxis&lt;/LI-CODE&gt;&lt;P&gt;before my&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/25059"&gt;@DP&lt;/a&gt;.table defintions. This is the only modificaiton which I did - the rest of the code is the generatedbundle code.&lt;/P&gt;&lt;P&gt;I deploy the bundle and run it: then i get the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;ModuleNotFoundError: No module named 'pipelinewithpackage'&lt;/STRONG&gt; error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the cluster logs I can see, that the wheel is created:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Building wheels for collected packages: pipelinewithpackage
  Building editable for pipelinewithpackage (pyproject.toml): started
  Building editable for pipelinewithpackage (pyproject.toml): finished with status 'done'
  Created wheel for pipelinewithpackage: filename=pipelinewithpackage-0.0.1-py3-none-any.whl size=1433 sha256=492c44e0c2d9eb063b3f3c01a6fffe9d1699de5123a389a0e8b5708bbf61060c
Successfully built pipelinewithpackage
Installing collected packages: pipelinewithpackage
Successfully installed pipelinewithpackage-0.0.1&lt;/LI-CODE&gt;&lt;P&gt;Why isn't it finding the library?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2026 18:33:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/declarative-pipeline-with-editable-wheel-python-module-not-found/m-p/172599#M56658</guid>
      <dc:creator>a_user12</dc:creator>
      <dc:date>2026-10-10T18:33:22Z</dc:date>
    </item>
    <item>
      <title>Beyond Bronze, Silver, and Gold: When Does a Separate Stage Make Sense?</title>
      <link>https://community.databricks.com/t5/data-engineering/beyond-bronze-silver-and-gold-when-does-a-separate-stage-make/m-p/172492#M56650</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I recently published my first technical blog! I was a little nervous about sharing it, but I’m happy to take this first step. I hope to keep sharing what I learn and improve my writing along the way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For this article, I chose a question I’ve encountered in real projects: when does it make sense to split a Medallion layer into separate stages?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The article explores how to make that decision based on responsibilities, reuse, data quality, ownership, and consumer needs. It also separates three decisions that can easily become mixed together: organizing transformation logic, storing intermediate results, and making outputs available to consumers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It includes a practical Silver example using a private materialized view, expectations, and a quarantine output, followed by a discussion of how logical layers relate to Unity Catalog schemas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My main takeaway is that a layer should have a clear responsibility and a reason for its output to exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Read the article here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.sunnydata.ai/blog//blog/medallion-architecture-databricks-layers" target="_blank"&gt;&lt;SPAN&gt;https://www.sunnydata.ai/blog//blog/medallion-architecture-databricks-layers&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’d be interested to hear what you think and how you approach these decisions in your projects. Suggestions on what I could improve or explain more clearly would also be welcome.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2026 16:44:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/beyond-bronze-silver-and-gold-when-does-a-separate-stage-make/m-p/172492#M56650</guid>
      <dc:creator>juanlozadab</dc:creator>
      <dc:date>2026-10-09T16:44:26Z</dc:date>
    </item>
    <item>
      <title>Propagating SCD2 History from Silver to Gold with AUTO CDC FLOW and Handling Full Refresh</title>
      <link>https://community.databricks.com/t5/data-engineering/propagating-scd2-history-from-silver-to-gold-with-auto-cdc-flow/m-p/172471#M56645</link>
      <description>&lt;P&gt;I have a streaming SCD2 table in the Silver layer, and I need to propagate all historical and future SCD2 events into another SCD2 streaming table in the Gold layer.&lt;/P&gt;&lt;P&gt;The Gold table is maintained through a DLT pipeline using two AUTO CDC FLOWs:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Initial history load&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Uses once=True.&lt;/LI&gt;&lt;LI&gt;Copies the entire Silver table into Gold.&lt;/LI&gt;&lt;LI&gt;This is required because the source table's CDF does not contain the complete historical event history.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Incremental updates&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Continuously reads from the Silver table's Change Data Feed (CDF).&lt;/LI&gt;&lt;LI&gt;Captures new changes as they occur.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This setup works fine during the initial deployment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Silver table already contains historical SCD2 records.&lt;/LI&gt;&lt;LI&gt;The CDF is empty&lt;/LI&gt;&lt;LI&gt;The once=True flow loads all existing records into Gold.&lt;/LI&gt;&lt;LI&gt;The second flow then keeps Gold synchronized using CDF going forward.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;The challenge appears when performing a full refresh of the Gold table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;At that point:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Silver table still contains the complete SCD2 history.&lt;/LI&gt;&lt;LI&gt;The Silver table's CDF&lt;STRONG&gt; now also contains some historical change events (not empty, but it does not contain full history because it has retention period).&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If both flows are executed again:&lt;UL&gt;&lt;LI&gt;The once=True flow reloads the entire Silver table.&lt;/LI&gt;&lt;LI&gt;The incremental CDC flow replays changes from CDF.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;As a result, duplicate historical events are written into the Gold table.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Although full refreshes are expected to be rare, I'd like to have a robust solution before moving this design to production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Is there a recommended Databricks pattern for handling this scenario?&amp;nbsp;&lt;SPAN&gt;Have you implemented a similar architecture using &lt;/SPAN&gt;AUTO CDC FLOW&lt;SPAN&gt; / Lakeflow Declarative Pipelines, and if so, what approach did you take?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Oct 2026 14:05:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/propagating-scd2-history-from-silver-to-gold-with-auto-cdc-flow/m-p/172471#M56645</guid>
      <dc:creator>yit337</dc:creator>
      <dc:date>2026-10-09T14:05:50Z</dc:date>
    </item>
  </channel>
</rss>

