timestamp with BQ

One Star ddu
One Star

timestamp with BQ

Hello
I'm using MySQL as datasource to fill BigQuery Table
I've a field in MySQL define like Timestamp
When I try to upload data in a new table in Bigquery (using tmap) the field in bigquery is created as a string not like Timestamp.
I'm using talend BD 5.3.1
Thanks in advance for your help
Dan
Moderator

Re: timestamp with BQ

Hi,
Due to the default one is "String". You can set the data type by yourselves. There is "Date" type in the drop down list.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: timestamp with BQ

Hi,
I am also trying to import data into Google BigQuery and have the same problem. I select 'Date' in the schema drop down, but Talend always creates a table at BigQuery using STRING instead of TIMESTAMP as data type.
Whatever I do I can't get it to create tables on BigQuery using TIMESTAMP. I tried exporting to schema to XML and loading it like that, but to no avail. Right now I'm trying to convert the STRING date to TIMESTAMP using a Google BigQuery job, but it would be easier if Talend could do this.
Regards,
Wouter
Example output:
Done: {"configuration":{"load":{"createDisposition":"CREATE_IF_NEEDED","destinationTable":{"datasetId":"POC","projectId":"vex-poc-bigdata","tableId":"LML_TEST_5"},"fieldDelimiter":";","schema":{"fields":}, ...
One Star

Re: timestamp with BQ

is this resolved? I am having same issue with Talend BD 5.4.1
It is a defect.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now