I've been trying to read from a .csv file on many ways, utilizing `SparkContext` object. I found it possible through `scala.io.Source.fromFile` function, but I want to use spark object. Everytime I run function `textfile` for `org.apache.spark.SparkContext` I get the same error:

```
scala>     sparkSession.read.csv("file://C:\\Users\\184229\\Desktop\\bigdata.csv")

21/12/29 16:47:32 WARN streaming.FileStreamSink: Error while looking for metadata directory.

java.lang.UnsupportedOperationException: Not implemented by the DistributedFileSystem FileSystem implementation
.....

```

As it's mentioned in the title I run the code on Windows in IntelliJ

[Edit]
In build.sbt have no redundant or overlapped dependencies. I use hadoop-tools, spark-sql and hadoop-xz.