Hello, I am trying to use `tap-spreadsheets-anywhe...
# getting-started
n
Hello, I am trying to use
tap-spreadsheets-anywhere
to read from csv files that do not have headers. I am successfully able to read the files, but can see that the tap is just using the first row of data as the header/key names. How can I supply the headers from the configuration? I have tried schema and schema-override, but these do not seem to have an impact.
e
It's a bit hard to find in the Hub page for the tap, but it has a
field_names
option:
field_names: (optional) An array holding the names of the columns in the targeted files. If not supplied, the first row of each file must hold the desired values.
n
Thanks so much @edgar_ramirez_mondragon! Not sure how I missed that. Will try this out.