Skip to content

Commit

Permalink
fix test compile
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed May 8, 2015
1 parent 2a70526 commit 239730c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ class ExpressionEvaluationSuite extends ExpressionEvaluationBaseSuite {
checkEvaluation(ArrayOrdinalGetField(BoundReference(4, typeArray, true),
Literal.create(null, IntegerType)), null, row)

def quickBuildGetField(expr: Expression, fieldName: String): StructGetField = {
def quickBuildGetField(expr: Expression, fieldName: String): GetField = {
expr.dataType match {
case StructType(fields) =>
val field = fields.find(_.name == fieldName).get
Expand Down

0 comments on commit 239730c

Please sign in to comment.