<?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 How to access tables created in 2017 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21677#M14808</link>
    <description>&lt;P&gt;In 2017 while working on my Masters degree, I created some tables that I would like to access again. Back then I could just write SQL and find them but today that doesn't work. I suspect it has something to do with Delta Lake. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to do to gain access to these tables?&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 13:37:20 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2022-05-02T13:37:20Z</dc:date>
    <item>
      <title>How to access tables created in 2017</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21677#M14808</link>
      <description>&lt;P&gt;In 2017 while working on my Masters degree, I created some tables that I would like to access again. Back then I could just write SQL and find them but today that doesn't work. I suspect it has something to do with Delta Lake. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to do to gain access to these tables?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 13:37:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21677#M14808</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2022-05-02T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to access tables created in 2017</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21678#M14809</link>
      <description>&lt;P&gt;Hi, it is parquet files. Just load that data as DataFrame:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;df = spark.read.parquet("dbfs:/hive/warehouse/congresskmean/")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eventually, you can register that files as a table but you will need to specify the schema:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TABLE table_name&lt;/P&gt;&lt;P&gt;(schema)&lt;/P&gt;&lt;P&gt;USING PARQUET&lt;/P&gt;&lt;P&gt;LOCATION '/hive/warehouse/congresskmean/';&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 14:40:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21678#M14809</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-05-02T14:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to access tables created in 2017</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21679#M14810</link>
      <description>&lt;P&gt;Sorry, I forgot to mention that I am doing this in R and this Python function returns a pyspark.sql.dataframe.DataFrame type which I can't access in R. But with the information you provided I found some code that was supposed to work for R but the install.packages fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;install.packages("arrow")&lt;/P&gt;&lt;P&gt;library(arrow)&lt;/P&gt;&lt;P&gt;read_parquet("myfile.parquet")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://rdrr.io/r/utils/install.packages.html" alt="https://rdrr.io/r/utils/install.packages.html" target="_blank"&gt;install.packages&lt;/A&gt;("arrow", repos = "https://arrow-r-nightly.s3.amazonaws.com")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Developer version fails to install also.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 17:59:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21679#M14810</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2022-05-02T17:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to access tables created in 2017</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21680#M14811</link>
      <description>&lt;P&gt;You don't need to install anything. You can just, for example, from R using SQL register that table as in the above example. You can read as dataframe in R also out of the box. Many examples here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/spark/latest/sparkr/overview.html" target="test_blank"&gt;https://docs.databricks.com/spark/latest/sparkr/overview.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 19:24:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21680#M14811</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-05-02T19:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to access tables created in 2017</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21681#M14812</link>
      <description>&lt;P&gt;That did it. Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 14:01:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21681#M14812</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2022-05-07T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to access tables created in 2017</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21682#M14813</link>
      <description>&lt;P&gt;Great that it helped. If you can you can select my answer as the best one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 16:40:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-tables-created-in-2017/m-p/21682#M14813</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-05-07T16:40:50Z</dc:date>
    </item>
  </channel>
</rss>

