<?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 What is the difference between  spark.sessionState.catalog.listTables vs spark.catalog.listTables in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-spark-sessionstate-catalog/m-p/21338#M14538</link>
    <description>&lt;P&gt;I see a significant performance difference when calling spark.sessionState.catalog.list compared to spark.catalog.list. Is that expected? &lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 19:25:51 GMT</pubDate>
    <dc:creator>brickster_2018</dc:creator>
    <dc:date>2021-06-23T19:25:51Z</dc:date>
    <item>
      <title>What is the difference between  spark.sessionState.catalog.listTables vs spark.catalog.listTables</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-spark-sessionstate-catalog/m-p/21338#M14538</link>
      <description>&lt;P&gt;I see a significant performance difference when calling spark.sessionState.catalog.list compared to spark.catalog.list. Is that expected? &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 19:25:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-spark-sessionstate-catalog/m-p/21338#M14538</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-23T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between  spark.sessionState.catalog.listTables vs spark.catalog.listTables</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-spark-sessionstate-catalog/m-p/21339#M14539</link>
      <description>&lt;P&gt;spark.sessionState.catalog.listTables is a more lazy implementation.. it does not pull the column details when listing the tables. Hence it's faster. Whereas catalog.listTables will pull the column details as well. &lt;/P&gt;&lt;P&gt;If the database has many Delta tables, it's possible getting the column details will take a long time, whereas just getting the metadata should be faster. &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 19:29:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-spark-sessionstate-catalog/m-p/21339#M14539</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-23T19:29:28Z</dc:date>
    </item>
  </channel>
</rss>

