kjmrknsn opened a new pull request #23326: [MINOR][Docs] Fix the "not found: 
value Row" error on the "programmatic_schema" example
URL: https://github.com/apache/spark/pull/23326
 
 
   ## What changes were proposed in this pull request?
   
   Print `import org.apache.spark.sql.Row` of `SparkSQLExample.scala` on the 
`programmatic_schema` example to fix the `not found: value Row` error on it.
   
   ```
   scala> val rowRDD = peopleRDD.map(_.split(",")).map(attributes => 
Row(attributes(0), attributes(1).trim))
   <console>:28: error: not found: value Row
          val rowRDD = peopleRDD.map(_.split(",")).map(attributes => 
Row(attributes(0), attributes(1).trim))
   ```
   
   ## How was this patch tested?
   
   NA

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to