empty rows

One Star

empty rows

Hi,
I am having in my CSV file an empty rows which I do not want to output.
I would like to have in my CSV output the only rows with data.
I have use tjava row to find my empty row , I also use filter row to filter which one are emapty but still having in my output empty row .
Anyone can help?
Thanks
Zeljka
One Star

Re: empty rows

Just to add my real image AND my java code..
Z
Highlighted
One Star

Re: empty rows

Why not just check "Skip empty rows" in tFileInputDelimited?
You can't easily filter with tJavaRow. Use tFilterRow: in advanced mode you can use custom java code
Six Stars

Re: empty rows

Well... for such basic filtering just use a tmap with a filter expression.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

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

Download