<?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: AnalysisException: 
Multiple sources found for bigquery (com.google.cloud.spark.bigquery.BigQueryRelationProvider, com.google.cloud.spark.bigquery.v2.BigQueryTableProvider),
 please specify the fully qualified class name. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/analysisexception-multiple-sources-found-for-bigquery-com-google/m-p/26861#M18866</link>
    <description>&lt;P&gt;Hi @Parul Paul​&amp;nbsp;, could you please check if this is the scenario: &lt;A href="https://stackoverflow.com/questions/68623803/load-to-bigquery-via-spark-job-fails-with-an-exception-for-multiple-sources-foun" alt="https://stackoverflow.com/questions/68623803/load-to-bigquery-via-spark-job-fails-with-an-exception-for-multiple-sources-foun" target="_blank"&gt;https://stackoverflow.com/questions/68623803/load-to-bigquery-via-spark-job-fails-with-an-exception-for-multiple-sources-foun&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can refer: &lt;A href="https://github.com/GoogleCloudDataproc/spark-bigquery-connector/issues/55" alt="https://github.com/GoogleCloudDataproc/spark-bigquery-connector/issues/55" target="_blank"&gt;https://github.com/GoogleCloudDataproc/spark-bigquery-connector/issues/55&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using big query connector with spark , please refer: &lt;A href="https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example" alt="https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example" target="_blank"&gt;https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the issue can be: multiple versions of spark sql in the class path, which could be because of libraries installed on the cluster. Could you please check uninstalling few of the unnecessary libraries and restarting the cluster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 15:14:54 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-10-18T15:14:54Z</dc:date>
    <item>
      <title>AnalysisException: 
Multiple sources found for bigquery (com.google.cloud.spark.bigquery.BigQueryRelationProvider, com.google.cloud.spark.bigquery.v2.BigQueryTableProvider),
 please specify the fully qualified class name.</title>
      <link>https://community.databricks.com/t5/data-engineering/analysisexception-multiple-sources-found-for-bigquery-com-google/m-p/26860#M18865</link>
      <description>&lt;P&gt;While reading data from BigQuery to Databricks &lt;/P&gt;&lt;P&gt;getting the error :&lt;B&gt; AnalysisException: &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Multiple sources found for bigquery (com.google.cloud.spark.bigquery.BigQueryRelationProvider, com.google.cloud.spark.bigquery.v2.BigQueryTableProvider),&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; please specify the fully qualified class name.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jar used - spark-bigquery-with-dependencies_2.12-0.27.0.jar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;df = spark.read.format("bigquery")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("credentialsFile",credientialFilePath)\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("ParentProject",projectName)\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("table",tableName)\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.load()&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 07:53:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/analysisexception-multiple-sources-found-for-bigquery-com-google/m-p/26860#M18865</guid>
      <dc:creator>parulpaul</dc:creator>
      <dc:date>2022-10-18T07:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: AnalysisException: 
Multiple sources found for bigquery (com.google.cloud.spark.bigquery.BigQueryRelationProvider, com.google.cloud.spark.bigquery.v2.BigQueryTableProvider),
 please specify the fully qualified class name.</title>
      <link>https://community.databricks.com/t5/data-engineering/analysisexception-multiple-sources-found-for-bigquery-com-google/m-p/26861#M18866</link>
      <description>&lt;P&gt;Hi @Parul Paul​&amp;nbsp;, could you please check if this is the scenario: &lt;A href="https://stackoverflow.com/questions/68623803/load-to-bigquery-via-spark-job-fails-with-an-exception-for-multiple-sources-foun" alt="https://stackoverflow.com/questions/68623803/load-to-bigquery-via-spark-job-fails-with-an-exception-for-multiple-sources-foun" target="_blank"&gt;https://stackoverflow.com/questions/68623803/load-to-bigquery-via-spark-job-fails-with-an-exception-for-multiple-sources-foun&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can refer: &lt;A href="https://github.com/GoogleCloudDataproc/spark-bigquery-connector/issues/55" alt="https://github.com/GoogleCloudDataproc/spark-bigquery-connector/issues/55" target="_blank"&gt;https://github.com/GoogleCloudDataproc/spark-bigquery-connector/issues/55&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using big query connector with spark , please refer: &lt;A href="https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example" alt="https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example" target="_blank"&gt;https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the issue can be: multiple versions of spark sql in the class path, which could be because of libraries installed on the cluster. Could you please check uninstalling few of the unnecessary libraries and restarting the cluster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:14:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/analysisexception-multiple-sources-found-for-bigquery-com-google/m-p/26861#M18866</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-10-18T15:14:54Z</dc:date>
    </item>
  </channel>
</rss>

