Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/3480#issuecomment-65020606
  
    Oh I see - yeah I meant we'd also re-write the examples to correctly load 
example data from the classpath. If something is in `src/main/resources`, you 
can just look for the resource using java's resource API. However, maybe this 
makes the examples too confusing. I could see someone getting tripped up on 
loading a file from a classpath resource (a fairly advanced concept). Also if 
the examples do `sc.textFile(/path/to/example)` or something, that won't work. 
So maybe my suggestion is at odds with having simple, easy to understand, 
examples.


---
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.
---

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

Reply via email to