Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tBigQueryOutput error for Big Data Batch Job

I've created Big Data Batch Job which return error in tBigQueryOutput:

"The operator + is undefined for the argument type(s) null, UUID";

The corresponding java generated code is :

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

com.google.cloud.hadoop.io.bigquery.output.BigQueryOutputConfiguration

.configure(

config_tBigQueryOutput_2,

projectId_tBigQueryOutput_2,

"staging",

"maria_test",

tableSchema_tBigQueryOutput_2,

null + java.util.UUID.randomUUID(),

com.google.cloud.hadoop.io.bigquery.BigQueryFileFormat.NEWLINE_DELIMITED_JSON,

org.apache.hadoop.mapreduce.lib.output.TextOutputFormat.class);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Google Storage Staging Bucket in the Spark Configuration tab of Run tab is:

"gs://bla-bla/talend/jars"

Job layout is below.

Can you please suggest on how the above error should be fixed.

 

Thank you,

 

0683p000009M48C.png

 

Labels (6)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

The solution has been found : tBigQueryConfiguration has to be added, then the job is building successfully. Please see the screenshot:

0683p000009M42t.png

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hello,

Are you trying to generate random UUID numbers in a certain format for insertion in a database? Could you please give us more description about your current job design? How did you define your schema structure in your tBigQueryOutput component? What's your custom code in your tJava component?

Best regards

Sabrina

Anonymous
Not applicable
Author

The solution has been found : tBigQueryConfiguration has to be added, then the job is building successfully. Please see the screenshot:

0683p000009M42t.png

Anonymous
Not applicable
Author

Hello,

Thanks for sharing your solution with us.

Best regards

Sabrina