Github user concretevitamin commented on the pull request:

    https://github.com/apache/spark/pull/1346#issuecomment-50423690
  
    @yhuai @marmbrus I am not sure if this has been discussed before, but what 
do you guys think about adding a version of `applySchema(RDD[Array[String]], 
StructType)`? 
    
    The use case I have in mind is TPC-DS data preparation. Currently I have a 
bunch of text files, from which I can easily create an `RDD[String]`; by 
splitting each line on some separator I get an `RDD[Array[String]]`. Now, in 
TPC-DS the tables easily have 15+ columns, and I don't want to manually create 
a `Row` for each `Array[String]`. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to