Hi @seefoods,
The error message seems to indicate there are no files in the source path?
You can either define the schema yourself and pass it to schema(...) so Auto Loader doesnโt need to infer anything.. and as soon as files arrive, the stream will start processing without needing any files to exist at start-up (or) if you really want Auto Loader to infer the schema then make sure there is at least one file in the source path even if that is just a sample file. Otherwise, you will continue getting this error.
If this answer resolves your question, could you mark it as โAccept as Solutionโ? That helps other users quickly find the correct fix.
Regards,
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***