Skip to content
This repository has been archived by the owner on Dec 28, 2017. It is now read-only.

Fix cast AIOB error #183

Merged
merged 2 commits into from
Dec 6, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public Cast(DataType type) {
public void set(Object value, Row row, int pos) {
Object casted;
if (value == null) {
row.set(row.fieldCount(), targetDataType, null);
row.set(pos, targetDataType, null);
return;
}
if (targetDataType instanceof IntegerType) {
casted = castToLong(value);
Expand Down