Autoload csv files from data directory #2761
I agree that we should enforce headers. I would really like a way to show some sort of error if no headers exist. Or add a huuuge warning in the docs and the release notes should say
I agree with @Floppy that detecting whether a CSV file has a header is unreliable in the general case. It works great on big juicy files with cells stuffed with numbers, dates, and the like, but it breaks your heart on important edge cases, including tables with few rows, or a table full of short strings.
I think it'd definitely be reasonable to treat the following cases as errors:
Anything that tries to be much smarter than that, it'd be great to have a configuration switch to turn off for when predictability is important.
Very happy user of the