<?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 Downstream delta live table is unable to read data frame from upstream table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5950#M2210</link>
    <description>&lt;P&gt;I have been trying to work on implementing delta live tables to a pre-existing workflow. Currently trying to create two tables: appointments_raw and notes_raw, where notes_raw is "downstream" of appointments_raw. Following&amp;nbsp;&lt;A href="https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html" alt="https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html" target="_blank"&gt;this&lt;/A&gt;&amp;nbsp;as a reference, I'm attempting to load the appointments_raw table using dlt.read (inside notes_raw), but the result of dlt.read("appointments_raw") appears to be an empty DataFrame. Appointments raw data frame does seem to be read correctly according to pipeline storage and hive metastore. we are following this example: &lt;A href="https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html" target="test_blank"&gt;https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically, where “top referring pages” code is referencing dlt.read(“clickstream_prepared”). We are trying to do the same but facing an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/363iB179E7CAD6930365/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 16:06:52 GMT</pubDate>
    <dc:creator>arw1070</dc:creator>
    <dc:date>2023-04-12T16:06:52Z</dc:date>
    <item>
      <title>Downstream delta live table is unable to read data frame from upstream table</title>
      <link>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5950#M2210</link>
      <description>&lt;P&gt;I have been trying to work on implementing delta live tables to a pre-existing workflow. Currently trying to create two tables: appointments_raw and notes_raw, where notes_raw is "downstream" of appointments_raw. Following&amp;nbsp;&lt;A href="https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html" alt="https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html" target="_blank"&gt;this&lt;/A&gt;&amp;nbsp;as a reference, I'm attempting to load the appointments_raw table using dlt.read (inside notes_raw), but the result of dlt.read("appointments_raw") appears to be an empty DataFrame. Appointments raw data frame does seem to be read correctly according to pipeline storage and hive metastore. we are following this example: &lt;A href="https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html" target="test_blank"&gt;https://docs.databricks.com/_extras/notebooks/source/dlt-wikipedia-python.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically, where “top referring pages” code is referencing dlt.read(“clickstream_prepared”). We are trying to do the same but facing an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/363iB179E7CAD6930365/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 16:06:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5950#M2210</guid>
      <dc:creator>arw1070</dc:creator>
      <dc:date>2023-04-12T16:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Downstream delta live table is unable to read data frame from upstream table</title>
      <link>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5951#M2211</link>
      <description>&lt;P&gt;@Anna Wuest​&amp;nbsp;: Could you please send me the code snippet here? Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2023 07:09:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5951#M2211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-16T07:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Downstream delta live table is unable to read data frame from upstream table</title>
      <link>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5952#M2212</link>
      <description>&lt;P&gt;Do you mean this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@dlt.table(&lt;/P&gt;&lt;P&gt;    comment="Raw table of appointments from EDW",&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;def appointments_raw():&lt;/P&gt;&lt;P&gt;    return fetch_data.fetch_appointments(spark=spark, secret_handler=SECRET_HANDLER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@dlt.table(&lt;/P&gt;&lt;P&gt;    comment="Raw table of notes from SOLR",&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;def notes_raw():&lt;/P&gt;&lt;P&gt;    appointments = dlt.read("appointments_raw")&lt;/P&gt;&lt;P&gt;    print(type(appointments))&lt;/P&gt;&lt;P&gt;    print(appointments.head())&lt;/P&gt;&lt;P&gt;    appointments = appointments.pandas_api()&lt;/P&gt;&lt;P&gt;    mrns = fetch_data.select_mrns(&lt;/P&gt;&lt;P&gt;        appointments, today=TIMESTAMP, days_ahead=APPOINTMENTS_DAYS_AHEAD&lt;/P&gt;&lt;P&gt;    )&lt;/P&gt;&lt;P&gt;    notes = fetch_data.fetch_notes(&lt;/P&gt;&lt;P&gt;        mrns, cohort_id=COHORT_ID, secret_handler=SECRET_HANDLER, spark=spark&lt;/P&gt;&lt;P&gt;    )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    return notes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 13:30:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downstream-delta-live-table-is-unable-to-read-data-frame-from/m-p/5952#M2212</guid>
      <dc:creator>arw1070</dc:creator>
      <dc:date>2023-04-18T13:30:37Z</dc:date>
    </item>
  </channel>
</rss>

