Skip to content

support streaming #14

@jeremyross

Description

@jeremyross

I'm having a little trouble determining what syntax to use for transforming CSV files of undetermined length. I'm trying this:

{
   firstName: payload.FIRST_NAME
}

But I get the error:

sjsonnet.Error: attempted to index a array with string FIRST_NAME

It looks like xtrasonnet is loading all rows into memory and then expecting the transformation to specify a row index. What I'd like to do is stream through the input CSV file and have it apply the above transformation to each row. Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions