<?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>question Re: How to load data from Google Big query table using Apache Nifi? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373740#M241715</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105922"&gt;@Sivaluxan&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I am not quite sure you have the correct Database Driver Class Name. I am extracting data our of BigQuery using the combination of GenerateTableFetch and ExecuteSQLRecord and I receive no error message at all.&lt;BR /&gt;&lt;BR /&gt;In terms of configurations I have the following:&lt;BR /&gt;&lt;STRONG&gt;Database Connection URL:&lt;/STRONG&gt; jdbc:bigquery://&lt;A href="https://www.googleapis.com/bigquery/v2:443;ProjectId=" target="_blank"&gt;https://www.googleapis.com/bigquery/v2:443;ProjectId=&lt;/A&gt;&lt;STRONG&gt;your-project-if-here&lt;/STRONG&gt;;OAuthType=0;OAuthServiceAcctEmail=&lt;STRONG&gt;your-email-for-service-account-here&lt;/STRONG&gt;;OAuthPvtKeyPath=&lt;STRONG&gt;path_on_nifi_server_where_the_service_account_json_is_located&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database Driver Class Name&lt;/STRONG&gt;: com.simba.googlebigquery.jdbc.Driver&lt;BR /&gt;&lt;STRONG&gt;Database Driver Location:&lt;/STRONG&gt; full_path_to_jars_location/&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 06:59:59 GMT</pubDate>
    <dc:creator>cotopaul</dc:creator>
    <dc:date>2023-07-11T06:59:59Z</dc:date>
    <item>
      <title>How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373738#M241714</link>
      <description>&lt;P&gt;I need to load the data from big query table using nifi.&lt;/P&gt;&lt;P&gt;I used executesql nifi processor to load data from big query table.&lt;/P&gt;&lt;P&gt;when i was executing processor, i got following error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.lang.NoSuchMethodError: 'void com.google.api.gax.rpc.RequestUrlParamsEncoder.(com.google.api.gax.rpc.RequestParamsExtractor)'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;configure DBCPConnectionPooling Service in following class name - com.simba.googlebigquery.jdbc42.Driver&lt;/P&gt;&lt;P&gt;I am using nifi1.21.0 version. download latest version of big query jdbc driver(version 4.2) and other all dependencies and put into nifi/lib folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also used correct connection url when configuring pooling service.&lt;/P&gt;&lt;P&gt;How to solve this error?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 06:40:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373738#M241714</guid>
      <dc:creator>Sivaluxan</dc:creator>
      <dc:date>2023-07-11T06:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373740#M241715</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105922"&gt;@Sivaluxan&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I am not quite sure you have the correct Database Driver Class Name. I am extracting data our of BigQuery using the combination of GenerateTableFetch and ExecuteSQLRecord and I receive no error message at all.&lt;BR /&gt;&lt;BR /&gt;In terms of configurations I have the following:&lt;BR /&gt;&lt;STRONG&gt;Database Connection URL:&lt;/STRONG&gt; jdbc:bigquery://&lt;A href="https://www.googleapis.com/bigquery/v2:443;ProjectId=" target="_blank"&gt;https://www.googleapis.com/bigquery/v2:443;ProjectId=&lt;/A&gt;&lt;STRONG&gt;your-project-if-here&lt;/STRONG&gt;;OAuthType=0;OAuthServiceAcctEmail=&lt;STRONG&gt;your-email-for-service-account-here&lt;/STRONG&gt;;OAuthPvtKeyPath=&lt;STRONG&gt;path_on_nifi_server_where_the_service_account_json_is_located&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database Driver Class Name&lt;/STRONG&gt;: com.simba.googlebigquery.jdbc.Driver&lt;BR /&gt;&lt;STRONG&gt;Database Driver Location:&lt;/STRONG&gt; full_path_to_jars_location/&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 06:59:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373740#M241715</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-07-11T06:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373751#M241719</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;what is the version of your big query JDBC driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sivaluxan_0-1689070947769.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37982i5CD3F7460642EE98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sivaluxan_0-1689070947769.png" alt="Sivaluxan_0-1689070947769.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;do i need to have all these .jar files?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 10:22:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373751#M241719</guid>
      <dc:creator>Sivaluxan</dc:creator>
      <dc:date>2023-07-11T10:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373753#M241720</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;can you share me&amp;nbsp; the big query jdbc .jar file?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 10:49:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373753#M241720</guid>
      <dc:creator>Sivaluxan</dc:creator>
      <dc:date>2023-07-11T10:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373756#M241722</link>
      <description>&lt;P&gt;yes you do &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; and you will point the JAR location to that entire folder and let NiFi do it's job.&lt;BR /&gt;The JAR File (all of them) can be download directly from google: &lt;A href="https://cloud.google.com/bigquery/docs/reference/odbc-jdbc-drivers" target="_blank" rel="noopener"&gt;https://cloud.google.com/bigquery/docs/reference/odbc-jdbc-drivers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is only a single version for JDBC: &lt;STRONG&gt;SimbaJDBCDriverforGoogleBigQuery42_1.3.3.1004&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 11:13:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373756#M241722</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-07-11T11:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373783#M241733</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;ERROR [Timer-Driven Process Thread-1] o.a.n.p.standard.ExecuteSQLRecord ExecuteSQLRecord[id=47eb2248-0189-1000-5848-add6083f3a2f] Processing halted: yielding [1 sec] java.lang.NoClassDefFoundError: com/google/api/core/NanoClock&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i am getting this error now.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 02:51:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373783#M241733</guid>
      <dc:creator>Sivaluxan</dc:creator>
      <dc:date>2023-07-12T02:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373785#M241735</link>
      <description>&lt;P&gt;Have you extracted the JDBC zip (not the ODBC) correctly? Have you pointed NiFi to the full path of the folder? Have you defined the &lt;STRONG&gt;Database Connection URL, Database Driver Class Name, Database Driver Location&lt;/STRONG&gt; correctly?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 06:58:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373785#M241735</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-07-12T06:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373793#M241741</link>
      <description>&lt;P&gt;yes. I did.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured correct &lt;STRONG&gt;Database Connection URL, Database Driver Class Name, Database Driver Location.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 10:05:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373793#M241741</guid>
      <dc:creator>Sivaluxan</dc:creator>
      <dc:date>2023-07-12T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from Google Big query table using Apache Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373795#M241742</link>
      <description>&lt;P&gt;the question is how? &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I just tested again and I was able to extract data from (and into) BigQuery without any errors. It seems that something you have defined is not 100% correct.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Circling back to my initial post, you would need those defined as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database Connection URL:&lt;/STRONG&gt; jdbc:bigquery://&lt;A href="https://www.googleapis.com/bigquery/v2:443;ProjectId=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.googleapis.com/bigquery/v2:443;ProjectId=&lt;/A&gt;&lt;STRONG&gt;your-project-if-here&lt;/STRONG&gt;;OAuthType=0;OAuthServiceAcctEmail=&lt;STRONG&gt;your-email-for-service-account-here&lt;/STRONG&gt;;OAuthPvtKeyPath=&lt;STRONG&gt;path_on_nifi_server_where_the_service_account_json_is_located&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database Driver Class Name&lt;/STRONG&gt;: com.simba.googlebigquery.jdbc.Driver&lt;BR /&gt;&lt;STRONG&gt;Database Driver Location:&lt;/STRONG&gt; full_path_to_jars_location/&lt;BR /&gt;&lt;BR /&gt;Where the Database driver location has to be the full path to the folder where you have extracted the JDBC (not ODBC) ZIP File... and you only have to point to the folder, not to a specific JAR file.&lt;BR /&gt;&lt;BR /&gt;In addition, pay attention to how the connection URL is configured and make sure that you follow the same structure. Plus, make sure that your SA has all the necessary rights for your actions.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 10:46:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-load-data-from-Google-Big-query-table-using-Apache/m-p/373795#M241742</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-07-12T10:46:53Z</dc:date>
    </item>
  </channel>
</rss>

