Skip to content

Commit 87b13cf

Browse files
author
Davies Liu
committed
fix test
1 parent d2ebd72 commit 87b13cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ case class ScriptTransformation(
167167

168168
outputStream.write(data)
169169
} else {
170-
val writable = inputSerde.serialize(row.asInstanceOf[GenericRow].values, inputSoi)
170+
val writable = inputSerde.serialize(
171+
row.asInstanceOf[GenericInternalRow].values, inputSoi)
171172
prepareWritable(writable).write(dataOutputStream)
172173
}
173174
}

0 commit comments

Comments
 (0)