spark-instrumented-optimizer/sql/catalyst/src/main
Reynold Xin 4137f769b8 [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.
2015-07-01 10:30:54 -07:00
..
java/org/apache/spark/sql [SPARK-8579] [SQL] support arbitrary object in UnsafeRow 2015-06-29 15:59:20 -07:00
scala/org/apache/spark/sql [SPARK-8752][SQL] Add ExpectsInputTypes trait for defining expected input types. 2015-07-01 10:30:54 -07:00