<?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 How to specify which columns to use when using DLT APPLY CHANGES INTO in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-specify-which-columns-to-use-when-using-dlt-apply-changes/m-p/22995#M15836</link>
    <description>&lt;P&gt;I have a notebook with the code below, where I try to do an upsert into a dimension table and only include one column from the source table. I get an error even though I think the syntax matches what I see in the docs. How can I write this in the correct way?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OR REFRESH LIVE TABLE D_AzureResourceType_DLT
(
  WkAzureResourceType bigint GENERATED ALWAYS AS IDENTITY,
  ConsumedService string NOT NULL
);
&amp;nbsp;
APPLY CHANGES INTO
  LIVE.D_AzureResourceType_DLT
FROM
  STREAM(LIVE.AzureCost)
KEYS
  (ConsumedService)
SEQUENCE BY
  Date
COLUMNS (ConsumedService);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the "Initializing" step in the Delta Live Tables workflow fails with this error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Error"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1228iC84CD20B7D477293/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error" alt="Error" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 14:53:15 GMT</pubDate>
    <dc:creator>Magnus</dc:creator>
    <dc:date>2022-11-09T14:53:15Z</dc:date>
    <item>
      <title>How to specify which columns to use when using DLT APPLY CHANGES INTO</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-specify-which-columns-to-use-when-using-dlt-apply-changes/m-p/22995#M15836</link>
      <description>&lt;P&gt;I have a notebook with the code below, where I try to do an upsert into a dimension table and only include one column from the source table. I get an error even though I think the syntax matches what I see in the docs. How can I write this in the correct way?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OR REFRESH LIVE TABLE D_AzureResourceType_DLT
(
  WkAzureResourceType bigint GENERATED ALWAYS AS IDENTITY,
  ConsumedService string NOT NULL
);
&amp;nbsp;
APPLY CHANGES INTO
  LIVE.D_AzureResourceType_DLT
FROM
  STREAM(LIVE.AzureCost)
KEYS
  (ConsumedService)
SEQUENCE BY
  Date
COLUMNS (ConsumedService);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the "Initializing" step in the Delta Live Tables workflow fails with this error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Error"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1228iC84CD20B7D477293/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error" alt="Error" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 14:53:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-specify-which-columns-to-use-when-using-dlt-apply-changes/m-p/22995#M15836</guid>
      <dc:creator>Magnus</dc:creator>
      <dc:date>2022-11-09T14:53:15Z</dc:date>
    </item>
  </channel>
</rss>

