diff options
author | Davies Liu <davies@databricks.com> | 2015-02-09 20:49:22 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-02-09 20:58:31 -0800 |
commit | f0562b42383401d04dc10a3f7800906e5bc4c326 (patch) | |
tree | 93599e1192144474621ca3eec207e8b8a6503d12 /python/run-tests | |
parent | 62b1e1fc0815329580e774791bc7aadcc6f50fb1 (diff) | |
download | spark-f0562b42383401d04dc10a3f7800906e5bc4c326.tar.gz spark-f0562b42383401d04dc10a3f7800906e5bc4c326.tar.bz2 spark-f0562b42383401d04dc10a3f7800906e5bc4c326.zip |
[SPARK-5469] restructure pyspark.sql into multiple files
All the DataTypes moved into pyspark.sql.types
The changes can be tracked by `--find-copies-harder -M25`
```
davieslocalhost:~/work/spark/python$ git diff --find-copies-harder -M25 --numstat master..
2 5 python/docs/pyspark.ml.rst
0 3 python/docs/pyspark.mllib.rst
10 2 python/docs/pyspark.sql.rst
1 1 python/pyspark/mllib/linalg.py
21 14 python/pyspark/{mllib => sql}/__init__.py
14 2108 python/pyspark/{sql.py => sql/context.py}
10 1772 python/pyspark/{sql.py => sql/dataframe.py}
7 6 python/pyspark/{sql_tests.py => sql/tests.py}
8 1465 python/pyspark/{sql.py => sql/types.py}
4 2 python/run-tests
1 1 sql/core/src/main/scala/org/apache/spark/sql/test/ExamplePointUDT.scala
```
Also `git blame -C -C python/pyspark/sql/context.py` to track the history.
Author: Davies Liu <davies@databricks.com>
Closes #4479 from davies/sql and squashes the following commits:
1b5f0a5 [Davies Liu] Merge branch 'master' of github.com:apache/spark into sql
2b2b983 [Davies Liu] restructure pyspark.sql
(cherry picked from commit 08488c175f2e8532cb6aab84da2abd9ad57179cc)
Signed-off-by: Reynold Xin <rxin@databricks.com>
Diffstat (limited to 'python/run-tests')
-rwxr-xr-x | python/run-tests | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/run-tests b/python/run-tests index 649a2c44d1..58a26dd8ff 100755 --- a/python/run-tests +++ b/python/run-tests @@ -64,8 +64,10 @@ function run_core_tests() { function run_sql_tests() { echo "Run sql tests ..." - run_test "pyspark/sql.py" - run_test "pyspark/sql_tests.py" + run_test "pyspark/sql/types.py" + run_test "pyspark/sql/context.py" + run_test "pyspark/sql/dataframe.py" + run_test "pyspark/sql/tests.py" } function run_mllib_tests() { |