<?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 Re: How to specify directory when reading table? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-specify-directory-when-reading-table/m-p/31122#M22641</link>
    <description>&lt;P&gt;spark.read.table reads table registered in catalog/metastore. If you have multiple databases in metastore, just prefix table name with &lt;I&gt;database name db.table&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 09:22:12 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2022-09-22T09:22:12Z</dc:date>
    <item>
      <title>How to specify directory when reading table?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-specify-directory-when-reading-table/m-p/31121#M22640</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that I have created several tables in Databricks workspace. If two tables have similar names but stored in different folders, how I can read them by "&lt;A href="https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.DataFrameReader.table.html#pyspark-sql-dataframereader-table" alt="https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.DataFrameReader.table.html#pyspark-sql-dataframereader-table" target="_blank"&gt;spark.read.table&lt;/A&gt;". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask this question because input to the "spark.read.table" is only table name not location. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 09:05:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-specify-directory-when-reading-table/m-p/31121#M22640</guid>
      <dc:creator>Mado</dc:creator>
      <dc:date>2022-09-22T09:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify directory when reading table?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-specify-directory-when-reading-table/m-p/31122#M22641</link>
      <description>&lt;P&gt;spark.read.table reads table registered in catalog/metastore. If you have multiple databases in metastore, just prefix table name with &lt;I&gt;database name db.table&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 09:22:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-specify-directory-when-reading-table/m-p/31122#M22641</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-09-22T09:22:12Z</dc:date>
    </item>
  </channel>
</rss>

