uuid Generator for Expression

One Star

uuid Generator for Expression

Hi All,

I am trying to generate some uuids to popuate into a database. I am using the code uuid_generate_v4() but getting errors.

Can someone tell me what is the correct syntax that I should be using?

Clip2net_170619175324.png

This is the error it is throwing.

Error in the component's properties:The method uuid_generate_v4() is undefined for the type customers

Thanks

 

Community Manager

Re: uuid Generator for Expression

Hello
It is a compilation error, the method uuid_generate_v4() is undefined. If it is DB function, you should use it in the Additional columns table in the Advanced settings of txxxOutput component. Anther way to generate a uuid string is to use Java API java.util.UUID, for more information, see
https://www.talendforge.org/forum/viewtopic.php?id=4831

Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch