<?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 extract table schema with jdbc driver in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201967#M3852</link>
    <description>&lt;P&gt;Hi all.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am looking for help on using 'jdbc connection' to bigquery, the purpose is, I would like to browse through the schema of bigquery in Talend Open Studio for Big Data 7x. anyhelp is appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I get following error :&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#993300"&gt;Starting job BigQueryWIthoutSchemaTest1 at 17:57 26/03/2019.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#993300"&gt;[statistics] connecting to socket on port XXXXXX&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;[statistics] connected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;Exception in component tDBConnection_1 (BigQueryWIthoutSchemaTest1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;java.lang.RuntimeException: No suitable driver found for jdbc:bigquery:........................&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;[statistics] disconnected&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Using the component : tDBConnection(JDBC) and Drivers&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BQ_Talend.jpg" style="width: 464px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3gK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134834i8F3D977061DFCB23/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3gK.jpg" alt="0683p000009M3gK.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:14:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T06:14:53Z</dc:date>
    <item>
      <title>extract table schema with jdbc driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201967#M3852</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am looking for help on using 'jdbc connection' to bigquery, the purpose is, I would like to browse through the schema of bigquery in Talend Open Studio for Big Data 7x. anyhelp is appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I get following error :&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#993300"&gt;Starting job BigQueryWIthoutSchemaTest1 at 17:57 26/03/2019.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#993300"&gt;[statistics] connecting to socket on port XXXXXX&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;[statistics] connected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;Exception in component tDBConnection_1 (BigQueryWIthoutSchemaTest1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;java.lang.RuntimeException: No suitable driver found for jdbc:bigquery:........................&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;[statistics] disconnected&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Using the component : tDBConnection(JDBC) and Drivers&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BQ_Talend.jpg" style="width: 464px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3gK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134834i8F3D977061DFCB23/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3gK.jpg" alt="0683p000009M3gK.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201967#M3852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: extract table schema with jdbc driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201968#M3853</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;This&amp;nbsp; above error due to the Simba JDBC driver (GoogleBigQueryJDBC42.jar) for the BigQuery does not support the auto commit.&lt;/P&gt; 
&lt;P&gt;Please try to use tdbconnection and tdbinput component with "auto commit" option deactivated .&lt;/P&gt; 
&lt;P&gt;Let us know if it is OK with you.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 06:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201968#M3853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-28T06:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: extract table schema with jdbc driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201969#M3854</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.qlik.com/s/profile/0053p000007LPJzAAO"&gt;@ssomanchi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the Advanced settings of tDBConnection component and then uncheck the "Use Auto-Commit" option.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 403px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M41Q.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136441i43AA29657C5E6E51/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M41Q.png" alt="0683p000009M41Q.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 06:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201969#M3854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-28T06:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: extract table schema with jdbc driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201970#M3855</link>
      <description>&lt;P&gt;thank you Sabrina.&lt;/P&gt; 
&lt;P&gt;It was switched off already.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I anyways managed to get the connection working using Simba JDBC connection and extract the table schema.&lt;/P&gt; 
&lt;P&gt;so basiclally here are full steps if some one gets into my situation:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;- use component tDBConnection.&lt;/P&gt; 
&lt;P&gt;download simba drivers and extract it in local folder.&lt;/P&gt; 
&lt;P&gt;you must then add the JARS into Talend. as following&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conn-bq2.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M42n.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148851iEB6985D0363F33CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M42n.jpg" alt="0683p000009M42n.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;see below screenshot:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conn-bq.jpg" style="width: 922px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M42s.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133446i77A2E9E53C1F51D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M42s.jpg" alt="0683p000009M42s.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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="conn-bq1.jpg" style="width: 742px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M41v.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146094i01F26385F87A50A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M41v.jpg" alt="0683p000009M41v.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;after you wrote the sql: select * from dataset.tablename; then click on "Guess schema". Then you will be able to see your schema when you click "Edit schema".&lt;/P&gt; 
&lt;P&gt;You will see column names, data types, scale, precission.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I dont know if this is the optimal way, but I got this way working.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;JDBC URL for Simba driver is :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;JDBC URL : "jdbc:bigquery://&lt;A href="https://community.talend.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.googleapis.com/bigquery/v2:443;ProjectId=&amp;lt;project-Name&amp;gt;;OAuthType=0;OAuthServiceAcctEmail=&amp;lt;email&lt;/A&gt; to connect to gcp&amp;gt;;OAuthPvtKeyPath=&amp;lt;path to json file \\ to escpae&amp;gt;.json;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;good luck!!!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201970#M3855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-28T15:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: extract table schema with jdbc driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201971#M3856</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.qlik.com/s/profile/0053p000007LPJzAAO"&gt;@ssomanchi&lt;/A&gt; ,&lt;/P&gt; 
&lt;P&gt;Thanks for your feedback and sharing your solution with us kindly.&lt;/P&gt; 
&lt;P&gt;We have one concern that there is no connector OnComponentOK or OnsubjobOK between your t&amp;lt;DB&amp;gt;Connection and t&amp;lt;DB&amp;gt;Input. Which will cause "java.lang.NullPointerException" when you create a DB connection and extract data from it.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 02:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extract-table-schema-with-jdbc-driver/m-p/2201971#M3856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T02:35:05Z</dc:date>
    </item>
  </channel>
</rss>

