voltrondata/substrait-fiddle

Fix detection of uploaded files

sanjibansg opened this issue · 0 comments

Currently, when various files are uploaded, their format is detected and verified only by the extension of the filename. It would be helpful to verify whether they are a valid JSON or a SQL file as well.