val rdd = sql.sparkContext.sequenceFile("s3://data/customer=*/*", classOf[BytesWritable], classOf[Text])
val rowRdd = rdd.map(x => convertTextRowToTypedRdd(x._2, schema, delimiter))
val dataFrame = sql.createDataFrame(rowRdd, schema)
What I am trying to figure out is how to get the customer-id, which is part of the path. I am not sure if there's a way to extract the source path from the resulting HadoopRDD. Do I need to create one RDD per customer to get around this?