Skip to content

Commit

Permalink
rebase & inputTypes update
Browse files Browse the repository at this point in the history
  • Loading branch information
yjshen committed Jul 14, 2015
1 parent 9555e35 commit 8c7a949
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ case class Round(child: Expression, scale: Expression) extends Expression with E

override def inputTypes: Seq[AbstractDataType] = Seq(
// rely on precedence to implicit cast String into Double
TypeCollection(DoubleType, FloatType, LongType, IntegerType, ShortType, ByteType),
TypeCollection(DecimalType, DoubleType, FloatType, LongType, IntegerType, ShortType, ByteType),
TypeCollection(LongType, IntegerType, ShortType, ByteType))

override def checkInputDataTypes(): TypeCheckResult = {
Expand Down

0 comments on commit 8c7a949

Please sign in to comment.