<?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 display() not updating after 1000 rows in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/display-not-updating-after-1000-rows/m-p/35041#M25726</link>
    <description>&lt;P&gt;Hello folks! I am calling&amp;nbsp;display()&amp;nbsp;on a streaming query sourced from a delta table. The output from&amp;nbsp;display()&amp;nbsp;displays the new rows added to the source table. But as soon as the output results hit 1000 rows, the output is not updated anymore. As a result, the visualization I built on top of the output is stale.  Is there a work around for the display function to append the new results while clearing the old results after the display limit of 1000 is hit?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 17:53:57 GMT</pubDate>
    <dc:creator>MrsBaker</dc:creator>
    <dc:date>2022-08-08T17:53:57Z</dc:date>
    <item>
      <title>display() not updating after 1000 rows</title>
      <link>https://community.databricks.com/t5/data-engineering/display-not-updating-after-1000-rows/m-p/35041#M25726</link>
      <description>&lt;P&gt;Hello folks! I am calling&amp;nbsp;display()&amp;nbsp;on a streaming query sourced from a delta table. The output from&amp;nbsp;display()&amp;nbsp;displays the new rows added to the source table. But as soon as the output results hit 1000 rows, the output is not updated anymore. As a result, the visualization I built on top of the output is stale.  Is there a work around for the display function to append the new results while clearing the old results after the display limit of 1000 is hit?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 17:53:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/display-not-updating-after-1000-rows/m-p/35041#M25726</guid>
      <dc:creator>MrsBaker</dc:creator>
      <dc:date>2022-08-08T17:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: display() not updating after 1000 rows</title>
      <link>https://community.databricks.com/t5/data-engineering/display-not-updating-after-1000-rows/m-p/35042#M25727</link>
      <description>&lt;P&gt;aggregate function followed by timestamp field sorted in descending order did the trick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;streaming_df.groupBy("field1", "time_field").max("field2").orderBy(col("time_field").desc()).display()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:29:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/display-not-updating-after-1000-rows/m-p/35042#M25727</guid>
      <dc:creator>MrsBaker</dc:creator>
      <dc:date>2022-08-08T20:29:41Z</dc:date>
    </item>
  </channel>
</rss>

