<?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 Load GCP data to Databricks using R in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/load-gcp-data-to-databricks-using-r/m-p/55068#M1960</link>
    <description>&lt;P&gt;I'm working with Databricks and Google Cloud in the same project. I want to load specific datasets stored in GCP into a R notebook in Databricks. I currently can see the datasets in BigQuery. The problem is that using the sparklyr package, I'm not able to see the datasets that I have in GCP. Instead, I see the name of other datasets I was not aware of.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my R code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;library(sparklyr)
sc &amp;lt;- spark_connect(method = "databricks")

# List table names in my spark connection
dplyr::src_tbls(sc)
# Can't see the tables sotred in GCP

# Try (and fail) to load the tables
spark_read_table(sc, "my-table-name")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I access my tables stored in GCP through Databricks notebooks using R?; Is sparklyr the right approach?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 16:58:08 GMT</pubDate>
    <dc:creator>dZegpi</dc:creator>
    <dc:date>2023-12-11T16:58:08Z</dc:date>
    <item>
      <title>Load GCP data to Databricks using R</title>
      <link>https://community.databricks.com/t5/get-started-discussions/load-gcp-data-to-databricks-using-r/m-p/55068#M1960</link>
      <description>&lt;P&gt;I'm working with Databricks and Google Cloud in the same project. I want to load specific datasets stored in GCP into a R notebook in Databricks. I currently can see the datasets in BigQuery. The problem is that using the sparklyr package, I'm not able to see the datasets that I have in GCP. Instead, I see the name of other datasets I was not aware of.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my R code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;library(sparklyr)
sc &amp;lt;- spark_connect(method = "databricks")

# List table names in my spark connection
dplyr::src_tbls(sc)
# Can't see the tables sotred in GCP

# Try (and fail) to load the tables
spark_read_table(sc, "my-table-name")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I access my tables stored in GCP through Databricks notebooks using R?; Is sparklyr the right approach?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 16:58:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/load-gcp-data-to-databricks-using-r/m-p/55068#M1960</guid>
      <dc:creator>dZegpi</dc:creator>
      <dc:date>2023-12-11T16:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load GCP data to Databricks using R</title>
      <link>https://community.databricks.com/t5/get-started-discussions/load-gcp-data-to-databricks-using-r/m-p/55139#M1971</link>
      <description>&lt;P&gt;Other than library(SparkR), this is the same code I posted. This does not solve my problem.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 12:23:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/load-gcp-data-to-databricks-using-r/m-p/55139#M1971</guid>
      <dc:creator>dZegpi</dc:creator>
      <dc:date>2023-12-12T12:23:03Z</dc:date>
    </item>
  </channel>
</rss>

