Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

InsertLoadJob action Bigquery issue

Hello ,

I set an integration about bigquery to execute InsertLoadJob action but it doesn't work.

I followed these instruction BigQuery  |  Integration Connectors  |  Google Cloud

But it seems that something is wrong on SourceURIS. Please help.

Davido5_0-1693389582268.pngDavido5_1-1693389607788.png

 

 

0 9 607
9 REPLIES 9

The error message suggests that the Cloud Storage URI might not be in the correct format. To ensure proper formatting, please refer to the Cloud Storage URI guidelines at the following link:

Cloud Storage URI Format Guidelines

If the issue persists, request you to share the project ID and connection name for further troubleshooting.

Thank you.

It works now.

I faced to another problem in this integration : When I execute my integration a message about missing input variables happen. I already add mapping task.

Davido21_0-1693835246575.pngDavido21_1-1693835279496.png

 

You can ignore this warning for your use case. We can define input variables to an integration. Integration runners are prompted to provide the value of such variables at every run. More details here : 

 

When I execute this integration my log shows this (No connectorOutputPayload) :

Davido21_0-1693986686360.png

 

Please verify if the filter query is correct as the results will be returned based on the filter. Here is the doc that talks about filter clause : https://cloud.google.com/application-integration/docs/connectors-task#filter 

I already add the filterclause but it doesn't work (see the screenshot)

Davido21_0-1694099380874.png

 

I can see from your previous screenshot that you are trying to use LIKE operator. Please make sure to use Wildcard % if you are looking for a substring match. E.g to match "/firstname/lastname" you can specify the filter clause as :-
name LIKE '/firstname/last%' 

It works well now. Thank you

I met another on the same integration: My bigquery table doesn't load data.

Davido21_0-1694507922959.png

My task: 

Davido21_1-1694507956001.png

Please help.

 

 

Hi Davido21,
Looks like you are using FOR_EACH incorrectly, GET_PROPERTY("Name") function should have been called on obj1 (inside FOR_EACH) and not on FOR_EACH. Thus it is giving error. However, looking at your use case(create a string of Names with space separated values), it cannot be achieved using Data Mapper Task. We would recommend to use Data Transformer Task for the same:
Example of script to achieve the above use case and also trim extra whitespace at the end:

 

local f = import "functions";
local names = f.map(function(x) x.Name, f.extVar("ConnectorOutputPayload"));
{
"output": f.stripChars(f.foldl(function(a,b) a+" "+b, names, ""), " ")
}

 

Please note this is just an example, please use variable names according to your integration. More details on data transformer task with sample can be found here.

Top Labels in this Space