Github user MLnick commented on the issue:

    https://github.com/apache/spark/pull/13745
  
    @jkbradley we could force a single partition in the data with `repartition` 
in the example code (per your comment 
https://github.com/apache/spark/pull/13176#issuecomment-226566116). Perhaps we 
can hide that from the doc with `example off`? It is not ideal to have that in 
the example code either really, but I agree it's better than `relativeError(0)`.
    
    The only other solution I can think of off-hand is to change the example 
input data to be large enough that it shouldn't matter about partitioning.


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