Resolved! What is the difference between spark.sessionState.catalog.listTables vs spark.catalog.listTables
I see a significant performance difference when calling spark.sessionState.catalog.list compared to spark.catalog.list. Is that expected?
- 2001 Views
- 1 replies
- 0 kudos
Latest Reply
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. If the database has many Delta tabl...
- 0 kudos