how to handle null value of an UUID column of Cassandra?

One Star

how to handle null value of an UUID column of Cassandra?

I used the tCassandraInput component to extract data from a Cassandra database. 
the source table looks like: 
create table tbl001 ( recid uuid, createddttm timestamp, addressid uuid, primary key ( recid, createddttm) );
when handling a row in this table with addressid is NULL, Talend stops and reports an nullPointerException error.
in java debug run window, I can see the error was cause by this line:
row5.addressid = row_tCassandraInput_2.getUUID("\"addressid\"").toString();
( because  row_tCassandraInput_2.getUUID("\"addressid\"") gets null, toString() raises the exception )
but as you know, the jave code generated automatically can not be changed. 
how can I do in such a case?
One Star

Re: how to handle null value of an UUID column of Cassandra?

can anyone help?
One Star

Re: how to handle null value of an UUID column of Cassandra?

I can modify the java code and compile it out of Talend Open Studio.
but I wonder if I can do this in the studio?

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