Skip to content

Commit

Permalink
Revert "Remove literal test"
Browse files Browse the repository at this point in the history
This reverts commit 392c87f.
  • Loading branch information
HyukjinKwon committed Jan 2, 2019
1 parent 7f8c3e9 commit d91ade6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ class LiteralExpressionSuite extends SparkFunSuite with ExpressionEvalHelper {
checkArrayLiteral(Array("a", "b", "c"))
checkArrayLiteral(Array(1.0, 4.0))
checkArrayLiteral(Array(CalendarInterval.MICROS_PER_DAY, CalendarInterval.MICROS_PER_HOUR))
val arr = collection.mutable.WrappedArray.make(Array(1.0, 4.0))
checkEvaluation(Literal(arr), toCatalyst(arr))
}

test("seq") {
Expand Down

0 comments on commit d91ade6

Please sign in to comment.