Skip to content

Commit

Permalink
fix test failures in DataFrameFunctionSuite and others
Browse files Browse the repository at this point in the history
  • Loading branch information
kiszk committed Apr 29, 2018
1 parent 175d981 commit d1b0483
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ trait ArraySortUtil extends ExpectsInputTypes {
}
}

val elementType = arrayExpression.dataType.asInstanceOf[ArrayType].elementType
def elementType: DataType = arrayExpression.dataType.asInstanceOf[ArrayType].elementType

def sortEval(array: Any, ascending: Boolean): Any = {
val data = array.asInstanceOf[ArrayData].toArray[AnyRef](elementType)
Expand Down

0 comments on commit d1b0483

Please sign in to comment.