diff options
author | q00251598 <qiyadong@huawei.com> | 2015-03-02 13:16:29 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-03-02 13:16:29 -0800 |
commit | 582e5a24c55e8c876733537c9910001affc8b29b (patch) | |
tree | c9be91ac5b541f3b7b58cf8f64aa8035c5fb54df /yarn/src | |
parent | 3f9def81170c24f24f4a6b7ca7905de4f75e11e0 (diff) | |
download | spark-582e5a24c55e8c876733537c9910001affc8b29b.tar.gz spark-582e5a24c55e8c876733537c9910001affc8b29b.tar.bz2 spark-582e5a24c55e8c876733537c9910001affc8b29b.zip |
[SPARK-6040][SQL] Fix the percent bug in tablesample
HiveQL expression like `select count(1) from src tablesample(1 percent);` means take 1% sample to select. But it means 100% in the current version of the Spark.
Author: q00251598 <qiyadong@huawei.com>
Closes #4789 from watermen/SPARK-6040 and squashes the following commits:
2453ebe [q00251598] check and adjust the fraction.
Diffstat (limited to 'yarn/src')
0 files changed, 0 insertions, 0 deletions