diff options
author | Reynold Xin <rxin@databricks.com> | 2015-07-01 10:30:54 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-01 10:30:54 -0700 |
commit | 4137f769b84300648ad933b0b3054d69a7316745 (patch) | |
tree | b7db2ea26789de4b4756525c4573c25c12e167d1 /python/pyspark/mllib/tests.py | |
parent | 69c5dee2f01b1ae35bd813d31d46429a32cb475d (diff) | |
download | spark-4137f769b84300648ad933b0b3054d69a7316745.tar.gz spark-4137f769b84300648ad933b0b3054d69a7316745.tar.bz2 spark-4137f769b84300648ad933b0b3054d69a7316745.zip |
[SPARK-8752][SQL] Add ExpectsInputTypes trait for defining expected input types.
This patch doesn't actually introduce any code that uses the new ExpectsInputTypes. It just adds the trait so others can use it. Also renamed the old expectsInputTypes function to just inputTypes.
We should add implicit type casting also in the future.
Author: Reynold Xin <rxin@databricks.com>
Closes #7151 from rxin/expects-input-types and squashes the following commits:
16cf07b [Reynold Xin] [SPARK-8752][SQL] Add ExpectsInputTypes trait for defining expected input types.
Diffstat (limited to 'python/pyspark/mllib/tests.py')
0 files changed, 0 insertions, 0 deletions