Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Filter the rows based on columns length from csv file

Highlighted
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.
Highlighted
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.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog