diff options
author | Matt Hagen <anonz3000@gmail.com> | 2015-09-22 21:14:25 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-09-22 21:14:25 -0700 |
commit | 558e9c7e60a7c0d85ba26634e97562ad2163e91d (patch) | |
tree | f98f30b7340db930393cadd6b5816208efcae6d4 /build | |
parent | 84f81e035e1dab1b42c36563041df6ba16e7b287 (diff) | |
download | spark-558e9c7e60a7c0d85ba26634e97562ad2163e91d.tar.gz spark-558e9c7e60a7c0d85ba26634e97562ad2163e91d.tar.bz2 spark-558e9c7e60a7c0d85ba26634e97562ad2163e91d.zip |
[SPARK-10663] Removed unnecessary invocation of DataFrame.toDF method.
The Scala example under the "Example: Pipeline" heading in this
document initializes the "test" variable to a DataFrame. Because test
is already a DF, there is not need to call test.toDF as the example
does in a subsequent line: model.transform(test.toDF). So, I removed
the extraneous toDF invocation.
Author: Matt Hagen <anonz3000@gmail.com>
Closes #8875 from hagenhaus/SPARK-10663.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions