Filter the rows based on columns length from csv file

One Star

Filter the rows based on columns length from csv file

Hi all,
I've the one requirement of extract the rows in a csv file which have the columns size greater than actual. For example I've the 5 columns in my csv file which is ,(comma) delimited. In that one column(example:address) will have the value xxxx,yyyy. Due to comma seperation it will split into two columns,parse next column. So I want to extract those columns which have columns size greater than 5. Please anyone help me out in resolve the issue. It is urgent to solve. Any help would greatly appreciated.
Thanks in advance.
Moderator

Re: Filter the rows based on columns length from csv file

Hi,
Could you please elaborate your case with an example with input and expected output values? 
Here is a component TalendHelpCenter:tSchemaComplianceCheck which validates all input rows against a reference schema or check types, nullability, length of rows against reference values.
Best regarsds
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog