spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Chammas (JIRA)" <>
Subject [jira] [Commented] (SPARK-15193) samplingRatio should default to 1.0 across the board
Date Fri, 06 May 2016 21:46:12 GMT


Nicholas Chammas commented on SPARK-15193:

[~yhuai] - What do you think of this proposed change?

> samplingRatio should default to 1.0 across the board
> ----------------------------------------------------
>                 Key: SPARK-15193
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>            Reporter: Nicholas Chammas
>            Priority: Minor
> The default sampling ratio for {{jsonRDD}} is [1.0|],
whereas for {{createDataFrame}} it's [{{None}}|].
> I think the default sampling ratio should be 1.0 across the board. Users should have
to explicitly supply a lower sampling ratio if they know their dataset has a consistent structure.
Otherwise, I think the "safer" thing to default to is to check all the data.
> Targeting this for 2.0 in case we consider it a breaking change that would be more difficult
to get in later.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message