Skip to content

Commit

Permalink
fix code gen
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Jul 13, 2015
1 parent 7dab957 commit 3bbb9d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ case class Cast(child: Expression, dataType: DataType) extends UnaryExpression w

case (StringType, IntervalType) =>
defineCodeGen(ctx, ev, c =>
s"org.apache.spark.unsafe.types.Interval.fromString($c.toString)")
s"org.apache.spark.unsafe.types.Interval.fromString($c.toString())")

// fallback for DecimalType, this must be before other numeric types
case (_, dt: DecimalType) =>
Expand Down

0 comments on commit 3bbb9d6

Please sign in to comment.