Skip to content

Commit

Permalink
fix double type (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yancey1989 authored Sep 5, 2019
1 parent 8608103 commit 9570260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rows.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (r *rowSet) ColumnTypeScanType(i int) reflect.Type {
case hiveserver2.TTypeId_FLOAT_TYPE:
return scanTypeFloat32
case hiveserver2.TTypeId_DOUBLE_TYPE:
return scanTypeInt64
return scanTypeFloat64
default:
return scanTypeUnknown
}
Expand Down

0 comments on commit 9570260

Please sign in to comment.