title: Unable to pass a Seq[String] to .parquet in Spark Scala
body: <p>I'm trying to read multiple paths in one call within the Spark API in Scala, with the <code>.parquet</code> method.</p>
  
  <p>I've got a method which receives a <code>Seq[String]</code> but seems to be unable to recognize it when included in the method call and tries to retrieve a <code>String</code> instead of a <code>Seq[String]</code>.</p>
  
  <pre><code>def readPaths(sparkSession: SparkSession, basePath: String, inputPaths: Seq[String]): Dataset[Row] = {
    sparkSession.read
      .option("basepath", basePath)
      .parquet(inputPaths) // Doesn't accept 'inputPaths'
  </code></pre>
  
  <p>}</p>
  
  <p>In the commented part, it just complains about <code>Seq[String]</code> not being a <code>String</code> type object, meanwhile it does accept a plain <code>"", "", "", ""</code>.</p>