Sanket9669
New Contributor II

Error: java.io.FileNotFoundException: /FileStore/tables/Airline.xlsx (No such file or directory

 

Verify that the file path you provided ("/FileStore/tables/Airline.xlsx") is correct. Make sure the file exists at that location. You can use Databricks' file system utilities or commands to list the contents of the directory to confirm the file's presence.

 

Verify that the file you are trying to read is indeed in Excel format (e.g., ".xlsx"). If it's a different format, you may need to use a different method or library to read it.