Closed zelima closed 6 years ago
@zelima I tried the following cases:
tsv
=> csv
- CLI - OK, showcase - OK - https://datahub.io/Mikanebu/extenstion-test-1csv
=> tsv
- CLI - OK, showcase - Broken -CastError: Row length 1 doesn't match fields count 4
xlsx
=> csv
CLI - broken > Error! Invalid opening quote at line 2
csv
=> xlsx
CLI - OK, showcase -OK - only zip
resource - probably, this is bugpdf
=> csv
- CLI - broken > Error! Invalid opening quote at line 24
csv
=> pdf
- CLI - OK, showcase - OK - only zip
resource - probably, this is bugxlsx
=> xls
- CLI - OK, showcase - OK - only zip
resource - probably, this is bugxls
=> xlsx
- CLI - OK, showcase - OK - only zip
resource - probably, this is bugxls
=> pdf
- CLI - OK, showcase - OK - only zip
resource - probably, this is bugpdf
=> xls
- CLI - OK, showcase - OK - only zip
resource - probably, this is bugWe can handle cases when CLI throws error, otherwise I do not see the point why we need to handle this cases. What do you think?
@Mikanebu I agree, indeed I think in the case it's erroring for csv
is totally fine. Think we can close this as WONTFIX. Think the fact that we see only zip is cause of we changed spec recently and instead of non-tabular
we have original
cc @anuveyatsu @akariv
WONTFIX as discussion suggests
As a user, I might have files that are CSV or EXCEL or any other but have modified extensions. Eg
my-file.xls
renamed and calledmy-file.csv
. Right now they are failing with not a user-friendly error messagesHow to reproduce
Expected behavior
tell the user that content is not correct Format