Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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,
The solution has been found : tBigQueryConfiguration has to be added, then the job is building successfully. Please see the screenshot:
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
The solution has been found : tBigQueryConfiguration has to be added, then the job is building successfully. Please see the screenshot:
Hello,
Thanks for sharing your solution with us.
Best regards
Sabrina