elasticio / csv-component

CSV Reading and Writing component for elastic.io platform
Apache License 2.0
3 stars 7 forks source link

Implement verification that incoming is CSV for Read CSV trigger and action #87

Closed stas-fomenko closed 3 years ago

stas-fomenko commented 3 years ago

Description: First task purpuse: throw crear error when specified URI does not return .csv file (currently - timeout error) Second task purpuse: currently action may try to read incoming non csv attachment, obviosly it does not return something usefull:

{
  "test csv header": "%PDF-1.4"
}

So we may add this error handling for case when user tries to pass something that is not csv attachment by mistake

jhorbulyk commented 3 years ago

Hopefully will be fixed by #95

jhorbulyk commented 3 years ago

Resolved by V3 of the component.