You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Read ONLY the first line of a csv file with 1.000.000 lines

Summary:

Please, I do not see the light with this problem.

I need to read only the first line of a huge file (to get the ledger, group_id, etc).

I do not want to read the whole file, and I do not see a clean way to do it.

Please any help / workaround will be welcome.

Sample (on the right I have the ledger, group_id, data):

Juan

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!