Ask Your Question
1

Directory origin -> 'with header line' not working

asked 2019-04-29 10:06:30 -0500

MuralidharKoti gravatar image

updated 2019-04-29 11:26:42 -0500

metadaddy gravatar image

Hi,

I am new to StreamSets.

I have configured Directory origin with one csv file. When I set the header line -> with header line and preview the data, I don't see any data coming through. But if I change header line -> no header line and preview data, I see data coming through.

The first line of the csv file has column names. My csv has around 100 columns, so it would be a time consuming task to use 'field renamer' to create header.

Could you please assist me here?

Regards, Murali

edit retag flag offensive close merge delete

Comments

1

Can you edit your question and add the first few lines of the CSV file. Also, try increasing the preview timeout. If that doesn't work, check sdc.log for errors. There may be something in the column names that is causing a problem.

metadaddy gravatar imagemetadaddy ( 2019-04-29 10:16:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-04-29 10:55:56 -0500

MuralidharKoti gravatar image

Thanks you. The issue is with spaces in column names in csv. I have updated and it is working now.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-29 10:06:30 -0500

Seen: 14 times

Last updated: Apr 29