[Spark 2060][SQL] Querying JSON Datasets with SQL and DSL in Spark SQL

JIRA: https://issues.apache.org/jira/browse/SPARK-2060
Actually - it might make sense to just get rid of the Option. If sampleRatio == 1.0, then it doesn't need to do sample.