You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by Kevin L Kitts <kk...@mitre.org> on 2022/06/15 18:11:27 UTC

csv input/wildcards

Is there a way to use wildcars with csv input? In other words, assuming all .csv files in a given directory are in the same format – to specify /data/directory/*.csv as the file to input?

TIA

Re: csv input/wildcards

Posted by Bart Maertens <ba...@know.bi>.
Not right away. You can use a 'Get Filenames' transform with wildcards
before a CSV input. If CSV input receives input, it allows you to use an
input field for the file name.
Wildcards can be used directly from Text File Input' though.
The use case for both transforms is different: Text File Input wants to be
as flexible as possible, CSV Input is built for performance (parallel
reading of large files).

Regards,
Bart

On Wed, Jun 15, 2022 at 8:11 PM Kevin L Kitts <kk...@mitre.org> wrote:

> Is there a way to use wildcars with csv input? In other words, assuming
> all .csv files in a given directory are in the same format – to specify
> /data/directory/*.csv as the file to input?
>
>
>
> TIA
>
>